Hi,

while implementing or testing new features, I'm getting tired of having
to remove the /tmp/.X11-unix/X0 socket that's left around when X
crashes. The attached patch fixes it.

I wonder if there are reasons for not doing that, or if it's some
oversight (may be the xtrans implementation for other kind of local
transports doen't need cleanup ?)

If there are no objections I'll commit it.
-- 
Matthieu Herrb
diff --git a/os/log.c b/os/log.c
index ca93eb8..d443aba 100644
--- a/os/log.c
+++ b/os/log.c
@@ -416,6 +416,7 @@ void AbortServer(void) __attribute__((noreturn));
 void
 AbortServer(void)
 {
+    CloseWellKnownConnections();
     OsCleanup(TRUE);
     CloseDownDevices();
     AbortDDX();
_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Reply via email to