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

nekral-guest at alioth.debian.org nekral-guest at alioth.debian.org
Sat Aug 30 18:33:14 UTC 2008


Author: nekral-guest
Date: 2008-08-30 18:33:13 +0000 (Sat, 30 Aug 2008)
New Revision: 2303

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/lib/nscd.c
Log:
	* lib/nscd.c: Make sure the file is not empty when configured
	without nscd support.

Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2008-08-30 18:32:43 UTC (rev 2302)
+++ upstream/trunk/ChangeLog	2008-08-30 18:33:13 UTC (rev 2303)
@@ -1,5 +1,10 @@
 2008-08-27  Nicolas François  <nicolas.francois at centraliens.net>
 
+	* lib/nscd.c: Make sure the file is not empty when configured
+	without nscd support.
+
+2008-08-27  Nicolas François  <nicolas.francois at centraliens.net>
+
 	* configure.in: Remove the USE_NSCD AM_CONDITIONAL (USE_NSCD is
 	not used in any Makefile.am).
 	* configure.in: Make sure posix_spawn is present when configured

Modified: upstream/trunk/lib/nscd.c
===================================================================
--- upstream/trunk/lib/nscd.c	2008-08-30 18:32:43 UTC (rev 2302)
+++ upstream/trunk/lib/nscd.c	2008-08-30 18:33:13 UTC (rev 2303)
@@ -57,5 +57,7 @@
 
 	return 0;
 }
-#endif
+#else				/* USE_NSCD */
+extern int errno;		/* warning: ANSI C forbids an empty source file */
+#endif				/* USE_NSCD */
 




More information about the Pkg-shadow-commits mailing list