[PATCH] close sockets in AbortServer()

Adam Jackson ajax at nwnk.net
Mon Oct 20 06:47:21 PDT 2008


On Mon, 2008-10-20 at 12:35 +0200, Matthieu Herrb wrote:
> 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 ?)

Abstract unix sockets in Linux don't need explicit cleanup, but they're
a pretty recent innovation as far as xtrans is concerned.

> If there are no objections I'll commit it.

Ack, please do.

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg/attachments/20081020/f0cec187/attachment.pgp>


More information about the xorg mailing list