mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 12:30:06 +00:00
hurd: fix pathconf visibility
* intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
This commit is contained in:
parent
09cb278539
commit
d952597738
@ -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.
|
||||
|
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user