diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2012-05-12 10:53:04 +0800 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2012-05-12 10:53:04 +0800 |
commit | dc70356cbfc649af8e39c9a8d509fefd766fa8ef (patch) | |
tree | 1183fe5797332d424dd803f36c1ebda53ebe7324 /io/dup3.c | |
parent | 9fb1a21f4d33c4c82719d6130e149eb2c5a51ae8 (diff) | |
download | glibc-dc70356cbfc649af8e39c9a8d509fefd766fa8ef.zip glibc-dc70356cbfc649af8e39c9a8d509fefd766fa8ef.tar.gz glibc-dc70356cbfc649af8e39c9a8d509fefd766fa8ef.tar.bz2 |
Avoid dup3 PLT usage.
Fixes fallout from 5aa3a74a59916b489e9cf7c4dce9eb149e106c6c.
Diffstat (limited to 'io/dup3.c')
-rw-r--r-- | io/dup3.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -24,7 +24,7 @@ open the same file as FD is which setting flags according to FLAGS. Return FD2 or -1. */ int -dup3 (fd, fd2, flags) +__dup3 (fd, fd2, flags) int fd; int fd2; int flags; @@ -42,7 +42,8 @@ dup3 (fd, fd2, flags) __set_errno (ENOSYS); return -1; } -libc_hidden_def (dup3) +libc_hidden_def (__dup3) +weak_alias (__dup3, dup3) stub_warning (dup3) #include <stub-tag.h> |