Carlos Garnacho 5c9a2c54c4 xwayland: Avoid late errno checks
We do some things when binding to a socket fails (closing the fd,
logging, unlinking files, ...) those might affect errno in some
or other way, so it might no longer be EADDRINUSE even if we later
try to make those non fatal.

It seems better to check errno soon after the failure, and don't
rely on it in any way at a later point. All error paths in
bind_to_abstract_socket() also have early logging, which also might
help figure out better the point of failure when the socket fails
to be created.

https://bugzilla.gnome.org/show_bug.cgi?id=769578
2016-08-06 17:14:52 +02:00
..
2016-07-23 10:55:02 +08:00
2016-07-23 10:55:02 +08:00
2016-08-06 17:14:52 +02:00
2016-07-23 10:55:02 +08:00
2016-04-27 20:37:47 +02:00
2016-07-22 13:31:09 +02:00
2015-07-05 22:01:59 -07:00
2015-07-05 22:01:59 -07:00
2015-07-05 22:01:59 -07:00