[Pkg-shadow-commits] r2311 - in upstream/trunk: . lib

nekral-guest at alioth.debian.org nekral-guest at alioth.debian.org
Sun Aug 31 17:27:26 UTC 2008


Author: nekral-guest
Date: 2008-08-31 17:27:26 +0000 (Sun, 31 Aug 2008)
New Revision: 2311

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/lib/nscd.c
Log:
	* lib/nscd.c: Avoid redefinition of _GNU_SOURCE.

Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2008-08-31 17:27:16 UTC (rev 2310)
+++ upstream/trunk/ChangeLog	2008-08-31 17:27:26 UTC (rev 2311)
@@ -1,5 +1,9 @@
 2008-08-28  Nicolas François  <nicolas.francois at centraliens.net>
 
+	* lib/nscd.c: Avoid redefinition of _GNU_SOURCE.
+
+2008-08-28  Nicolas François  <nicolas.francois at centraliens.net>
+
 	* configure.in: Indentation fix.
 	* configure.in, src/login.c: Do not use HAVE_PAM_FAIL_DELAY, but
 	HAS_PAM_FAIL_DELAY, to avoid a redefinition with Linux PAM.

Modified: upstream/trunk/lib/nscd.c
===================================================================
--- upstream/trunk/lib/nscd.c	2008-08-31 17:27:16 UTC (rev 2310)
+++ upstream/trunk/lib/nscd.c	2008-08-31 17:27:26 UTC (rev 2311)
@@ -4,7 +4,9 @@
 #ifdef USE_NSCD
 
 /* because of TEMP_FAILURE_RETRY */
+#ifndef _GNU_SOURCE
 #define _GNU_SOURCE
+#endif
 
 #include <features.h>
 #include <stdio.h>




More information about the Pkg-shadow-commits mailing list