From d164190debf9499ffa6dbf46ee24fa98da36c14f Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 24 Oct 2004 23:30:47 +0000 Subject: r3169: unlink() is called on the listening unix socket every time a child process exits. Commenting it out until we have a clean way of doing this. (This used to be commit fa0760dd5fa361be3b72dc4adc8b736e8a862606) --- source4/lib/socket/socket_unix.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source4') diff --git a/source4/lib/socket/socket_unix.c b/source4/lib/socket/socket_unix.c index 1735c931b8..038ce3b3b6 100644 --- a/source4/lib/socket/socket_unix.c +++ b/source4/lib/socket/socket_unix.c @@ -73,9 +73,13 @@ static void unixdom_close(struct socket_context *sock) close(sock->fd); /* if we were listening, then don't leave the socket lying around in the filesystem */ + +#if 0 + /* FIXME - this doesn't work after fork(), etc */ if (sock->private_data) { unlink((const char *)sock->private_data); } +#endif } static NTSTATUS unixdom_connect(struct socket_context *sock, -- cgit