1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-14 12:59:07 +03:00

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 fa0760dd5f)
This commit is contained in:
Jelmer Vernooij
2004-10-24 23:30:47 +00:00
committed by Gerald (Jerry) Carter
parent dbdd217435
commit d164190deb

View File

@ -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,