diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2004-10-24 23:30:47 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:02:29 -0500 |
commit | d164190debf9499ffa6dbf46ee24fa98da36c14f (patch) | |
tree | 6d341c0b4b28ed5f6b1248d13f3158467d486e50 /source4/lib | |
parent | dbdd217435ee579769cefe58954135bfc5b8411b (diff) | |
download | samba-d164190debf9499ffa6dbf46ee24fa98da36c14f.tar.gz samba-d164190debf9499ffa6dbf46ee24fa98da36c14f.tar.bz2 samba-d164190debf9499ffa6dbf46ee24fa98da36c14f.zip |
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)
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/socket/socket_unix.c | 4 |
1 files changed, 4 insertions, 0 deletions
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, |