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-        [email protected]
         Oracle Solaris Platform Engineering: X Window System

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to