about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2016-09-18 23:45:12 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2016-09-18 23:45:12 +0200
commitd952597738860d3258e4d3818494c1acdc5683fe (patch)
tree1a656a2dc4893fa726c6ef5baa22c0f7fdf59495
parent09cb278539d6ebb30a4de89a6bfd8bda1b085c07 (diff)
downloadglibc-d952597738860d3258e4d3818494c1acdc5683fe.tar.gz
glibc-d952597738860d3258e4d3818494c1acdc5683fe.tar.xz
glibc-d952597738860d3258e4d3818494c1acdc5683fe.zip
hurd: fix pathconf visibility
	* intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
-rw-r--r--ChangeLog4
-rw-r--r--intl/dcigettext.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 33b84d5e7d..974a525326 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+
+	* intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
+
 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
 
 	* nptl/sem_init.c (__new_sem_init): Init pad value to 0.
diff --git a/intl/dcigettext.c b/intl/dcigettext.c
index 3d38de99e7..dd0db4e6b2 100644
--- a/intl/dcigettext.c
+++ b/intl/dcigettext.c
@@ -187,7 +187,7 @@ static void *mempcpy (void *dest, const void *src, size_t n);
 #endif
 
 #if !defined PATH_MAX && defined _PC_PATH_MAX
-# define PATH_MAX (pathconf ("/", _PC_PATH_MAX) < 1 ? 1024 : pathconf ("/", _PC_PATH_MAX))
+# define PATH_MAX (__pathconf ("/", _PC_PATH_MAX) < 1 ? 1024 : __pathconf ("/", _PC_PATH_MAX))
 #endif
 
 /* Don't include sys/param.h if it already has been.  */