From: Samuel Thibault Date: Sun, 18 Sep 2016 21:48:55 +0000 (+0200) Subject: hurd: fix fcntl visibility X-Git-Tag: upstream/2.30~4291 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=455d6e4373c81da49892d39f33dc312b0c54097d;p=platform%2Fupstream%2Fglibc.git hurd: fix fcntl visibility * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl. --- diff --git a/ChangeLog b/ChangeLog index 974a525..d614df0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2016-09-18 Samuel Thibault * 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 diff --git a/sysdeps/posix/dup.c b/sysdeps/posix/dup.c index abf3ff5..bbd67bc 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)