hurd: fix pathconf visibility

* intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
This commit is contained in:
Samuel Thibault 2016-09-18 23:45:12 +02:00
parent 09cb278539
commit d952597738
2 changed files with 5 additions and 1 deletions

View File

@ -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.

View File

@ -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. */