mirror of
https://github.com/samba-team/samba.git
synced 2025-11-20 08:23:50 +03:00
r3183: moved the unlink of the messaging unixdom socket to the messaging destructor
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
c5e72b05d7
commit
ab222b236a
@@ -71,15 +71,6 @@ static NTSTATUS unixdom_init(struct socket_context *sock)
|
||||
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,
|
||||
|
||||
Reference in New Issue
Block a user