]> sourceware.org Git - glibc.git/commitdiff
hurd: fix fcntl visibility
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 18 Sep 2016 21:48:55 +0000 (23:48 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 18 Sep 2016 21:48:55 +0000 (23:48 +0200)
* sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.

ChangeLog
sysdeps/posix/dup.c

index 974a525326eb4d4b9ae65e19ab81b8d79aebd55b..d614df0ae478db119b976b3d415f3b85eb3f0516 100644 (file)
--- 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>
 
index abf3ff59dd762da0b940ea4a839848feb59dd37e..bbd67bcc4b630ebf8eb93932292f921c4e24ff1a 100644 (file)
@@ -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)
This page took 0.172804 seconds and 5 git commands to generate.