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

obnox at samba.org obnox at samba.org
Mon May 14 14:53:46 GMT 2007


Author: obnox
Date: 2007-05-14 14:53:45 +0000 (Mon, 14 May 2007)
New Revision: 22855

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22855

Log:
fix the build 
(#if inside DEBUG macro not allowed...)

Michael


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


Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_cache.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbindd_cache.c	2007-05-14 14:49:18 UTC (rev 22854)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd_cache.c	2007-05-14 14:53:45 UTC (rev 22855)
@@ -3463,14 +3463,12 @@
 	}
 	if (WIFSIGNALED(child_status)) {
 		DEBUG(10, ("winbindd_validate_cache: child terminated "
-			   "by signal %d%s\n",
-			   WTERMSIG(child_status),
-#if defined(WCOREDUMP)
-			   WCOREDUMP(child_status)?" (core dumped)":""
-#else
-			   ""
+			   "by signal %d\n", WTERMSIG(child_status)));
+#ifdef WCOREDUMP
+		if (WCOREDUMP(child_status)) {
+			DEBUGADD(10, ("core dumped\n"));
+		}
 #endif
-			   ));
 		ret = WTERMSIG(child_status);
 	}
 	if (WIFSTOPPED(child_status)) {



More information about the samba-cvs mailing list