diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | intl/dcigettext.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -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 3d38de9..dd0db4e 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. */ |