summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2021-02-24 10:52:59 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2021-02-24 10:53:29 -0800
commit494fea035166a4947db72bd23161faa1f1733708 (patch)
tree2f37f75a566b58acb6abe027ae87ff5987bb8ce1
parent8752f43fc6974beb773351de9f0cf8a06a1352d1 (diff)
downloadgnulib-494fea035166a4947db72bd23161faa1f1733708.tar.gz
gnulib-494fea035166a4947db72bd23161faa1f1733708.tar.bz2
glob: include libc-config.h in a more-standard way
Inspired by Tom Tromey’s report for RHEL 6 in: https://lists.gnu.org/r/bug-gnulib/2021-02/msg00088.html * lib/glob.c [!_LIBC]: Include libc-config.h, not just config.h
-rw-r--r--ChangeLog7
-rw-r--r--lib/glob.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index bbc8adf4be..3b78c47a6b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2021-02-24 Paul Eggert <eggert@cs.ucla.edu>
+
+ glob: include libc-config.h in a more-standard way
+ Inspired by Tom Tromey’s report for RHEL 6 in:
+ https://lists.gnu.org/r/bug-gnulib/2021-02/msg00088.html
+ * lib/glob.c [!_LIBC]: Include libc-config.h, not just config.h
+
2021-02-21 Bruno Haible <bruno@clisp.org>
string-buffer: Add tests.
diff --git a/lib/glob.c b/lib/glob.c
index 32c88e5d15..775911ef5b 100644
--- a/lib/glob.c
+++ b/lib/glob.c
@@ -21,7 +21,7 @@
optimizes away the pattern == NULL test below. */
# define _GL_ARG_NONNULL(params)
-# include <config.h>
+# include <libc-config.h>
#endif

Return to:

Send suggestions and report system problems to the System administrator.