svn commit: samba r3169 - in branches/SAMBA_4_0/source/lib/socket: .
jelmer at samba.org
jelmer at samba.org
Sun Oct 24 23:30:49 GMT 2004
Author: jelmer
Date: 2004-10-24 23:30:47 +0000 (Sun, 24 Oct 2004)
New Revision: 3169
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/lib/socket&rev=3169&nolog=1
Log:
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.
Modified:
branches/SAMBA_4_0/source/lib/socket/socket_unix.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/socket/socket_unix.c
===================================================================
--- branches/SAMBA_4_0/source/lib/socket/socket_unix.c 2004-10-24 23:12:13 UTC (rev 3168)
+++ branches/SAMBA_4_0/source/lib/socket/socket_unix.c 2004-10-24 23:30:47 UTC (rev 3169)
@@ -73,9 +73,13 @@
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,
More information about the samba-cvs
mailing list