diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-09-18 23:48:55 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-09-18 23:48:55 +0200 |
commit | 455d6e4373c81da49892d39f33dc312b0c54097d (patch) | |
tree | bc8625f5210ca0bafc75f1308866193356a9bd5a | |
parent | d952597738860d3258e4d3818494c1acdc5683fe (diff) | |
download | glibc-455d6e4373c81da49892d39f33dc312b0c54097d.tar.gz glibc-455d6e4373c81da49892d39f33dc312b0c54097d.tar.xz glibc-455d6e4373c81da49892d39f33dc312b0c54097d.zip |
hurd: fix fcntl visibility
* sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | sysdeps/posix/dup.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 974a525326..d614df0ae4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org> * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf. + * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl. 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org> diff --git a/sysdeps/posix/dup.c b/sysdeps/posix/dup.c index abf3ff59dd..bbd67bcc4b 100644 --- a/sysdeps/posix/dup.c +++ b/sysdeps/posix/dup.c @@ -24,7 +24,7 @@ int __dup (int fd) { - return fcntl (fd, F_DUPFD, 0); + return __fcntl (fd, F_DUPFD, 0); } libc_hidden_def (__dup) weak_alias (__dup, dup) |