]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
* lib/nscd.c: Make sure the file is not empty when configured
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sat, 30 Aug 2008 18:33:13 +0000 (18:33 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sat, 30 Aug 2008 18:33:13 +0000 (18:33 +0000)
without nscd support.

ChangeLog
lib/nscd.c

index 56e984c4cb7039b0894139ce320c603973cbb8e8..1dc1e80867962563c160f233f38af4881065f882 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-08-27  Nicolas François  <nicolas.francois@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@centraliens.net>
 
        * configure.in: Remove the USE_NSCD AM_CONDITIONAL (USE_NSCD is
index 5f54b722a3c45e2d1edca8607cd41bfc7d6026b3..f87267067594a3a318b3dc9df4abe146352a0609 100644 (file)
@@ -57,5 +57,7 @@ int nscd_flush_cache (const char *service)
 
        return 0;
 }
-#endif
+#else                          /* USE_NSCD */
+extern int errno;              /* warning: ANSI C forbids an empty source file */
+#endif                         /* USE_NSCD */