diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2004-10-24 23:30:47 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2004-10-24 23:30:47 +0000 |
commit | f02f993c14a6ff0d4e39b98e0d456f5aeeca482b (patch) | |
tree | b8ac042250c31677a8e82f36eb96457053127078 /source/lib/socket/socket_unix.c | |
parent | 2f963562483a543a47e831c0301203cc9aacc350 (diff) | |
download | samba-f02f993c14a6ff0d4e39b98e0d456f5aeeca482b.tar.gz samba-f02f993c14a6ff0d4e39b98e0d456f5aeeca482b.tar.xz samba-f02f993c14a6ff0d4e39b98e0d456f5aeeca482b.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.
Diffstat (limited to 'source/lib/socket/socket_unix.c')
-rw-r--r-- | source/lib/socket/socket_unix.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/lib/socket/socket_unix.c b/source/lib/socket/socket_unix.c index 1735c931b84..038ce3b3b68 100644 --- a/source/lib/socket/socket_unix.c +++ b/source/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, |