[PATCH] Xephyr: Remove socket and its lock file on exit
Alan Coopersmith
alan.coopersmith at oracle.com
Mon Oct 10 16:47:20 PDT 2011
On 10/10/11 04:00 PM, Jeremy Huddleston wrote:
> On Oct 10, 2011, at 15:34, Julien Cristau wrote:
>
>>> +static int _X_NORETURN
>>> +x_io_error_handler (Display *dpy) {
>>> + CloseWellKnownConnections();
>>> + OsCleanup(1);
>>> + exit(0);
>>> +}
>>> +
>> Shouldn't this exit with an error? It's an error handler after all...
>
> Yeah, I was on the fence about that. Done.
Perhaps an error message too? Something simple like
Error("Lost connection to X server");
(Error() being the X server equivalent of perror() to print the appropriate
error message for errno.)
--
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Platform Engineering: X Window System
More information about the xorg-devel
mailing list