diff options
author | Zhou Mingying <zhoumy@cn.fujitsu.com> | 2019-08-30 14:14:36 +0800 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2019-09-03 13:40:26 +0000 |
commit | ffe3d5fdfb02f4b4ae2de7044a9d73ef0321f048 (patch) | |
tree | 3d680d2ba8798be21afa76f0acc9fb900ab7f9f7 /meta-agl-profile-cluster-qt5/recipes-qt | |
parent | 0fef47773d2eb4970e51df3cae0b07bf0d60536b (diff) |
wayland bug backport: Fix fake "Address already in use" error
Backport a bug modification to the wayland used by AGL,
because the bug may effect the applications start error
The bug modification detail is as bellow:
In the current workflow, socket file will be deleted if it already exists.
However, if the socket file is a symbolic link or the file that it refers
to not exist, we will got "Address already in use", because bind()
thinks the socket file exists and won't create it.
Now, use lstat() to determine whether the socket file exists.
Bug-AGL: SPEC-2783
Signed-off-by: Zhou Mingying <zhoumy@cn.fujitsu.com>
Change-Id: Iff2c7abefa56104eef49ae7102ee8a1de796b813
Diffstat (limited to 'meta-agl-profile-cluster-qt5/recipes-qt')
0 files changed, 0 insertions, 0 deletions