[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Minor problem with GNU-lib as used in coreutils-8.14
From: |
Joachim Schmitz |
Subject: |
Minor problem with GNU-lib as used in coreutils-8.14 |
Date: |
Thu, 15 Dec 2011 14:48:32 +0100 |
Hi Bruno, list...
closedir.c fails to compile in C99 mode due to a prototype for
_gl_unregister_fd() not being in sight.
My patch:
/usr/local/bin/diff -EBbu ./lib/closedir.c.orig ./lib/closedir.c
--- ./lib/closedir.c.orig 2011-09-19 10:09:24.000000000 -0500
+++ ./lib/closedir.c 2011-12-15 06:41:35.000000000 -0600
@@ -32,6 +32,10 @@
#endif
+#if REPLACE_FCHDIR
+# include <unistd.h> /* for _gl_unregister_fd() */
+#endif
+
int
closedir (DIR *dirp)
{
Bye, Jojo
- Minor problem with GNU-lib as used in coreutils-8.14,
Joachim Schmitz <=