svn commit: samba r2440 - in branches/SAMBA_3_0/source/nsswitch: .

vlendec at samba.org vlendec at samba.org
Mon Sep 20 09:48:47 GMT 2004


Author: vlendec
Date: 2004-09-20 09:48:46 +0000 (Mon, 20 Sep 2004)
New Revision: 2440

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_3_0/source/nsswitch&rev=2440&nolog=1

Log:
Use sys_fork instead of fork for the dual daemon so that we get the
correct debug pid in the logfiles.

Volker

Modified:
   branches/SAMBA_3_0/source/nsswitch/winbindd_dual.c


Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_dual.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbindd_dual.c	2004-09-20 09:13:17 UTC (rev 2439)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd_dual.c	2004-09-20 09:48:46 UTC (rev 2440)
@@ -155,7 +155,7 @@
 	dual_daemon_pipe = fdpair[1];
 	state.sock = fdpair[0];
 
-	if (fork() != 0) {
+	if (sys_fork() != 0) {
 		close(fdpair[0]);
 		return;
 	}



More information about the samba-cvs mailing list