diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-10-06 12:23:37 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-10-06 12:23:37 +0000 |
commit | fff618aeb4142773ff388ac9b52d127a510c6690 (patch) | |
tree | 72043a849d02ac89ee7dac20f8ae04830ea8832d /source3/smbwrapper/smbw_dir.c | |
parent | 4fe9c5b65614d048c053989ab3d1e97b1bbcfa2b (diff) | |
download | samba-fff618aeb4142773ff388ac9b52d127a510c6690.tar.gz samba-fff618aeb4142773ff388ac9b52d127a510c6690.tar.bz2 samba-fff618aeb4142773ff388ac9b52d127a510c6690.zip |
added a wrapper for fork()
in a fork we have to close all server connections otherwise we can end
up with two processes writing to the same socket.
(This used to be commit b7ecbca3aff34ff06a445e5ee39efba48261b7e8)
Diffstat (limited to 'source3/smbwrapper/smbw_dir.c')
-rw-r--r-- | source3/smbwrapper/smbw_dir.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbwrapper/smbw_dir.c b/source3/smbwrapper/smbw_dir.c index a932c102dc..2c1b7ef9ec 100644 --- a/source3/smbwrapper/smbw_dir.c +++ b/source3/smbwrapper/smbw_dir.c @@ -664,3 +664,4 @@ off_t smbw_telldir(DIR *dirp) struct smbw_dir *d = (struct smbw_dir *)dirp; return smbw_dir_lseek(d->fd,0,SEEK_CUR); } + |