1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

Avoid dup3 PLT usage.

Fixes fallout from 5aa3a74a59.
This commit is contained in:
Thomas Schwinge
2012-05-12 10:53:04 +08:00
parent 9fb1a21f4d
commit dc70356cbf
5 changed files with 17 additions and 9 deletions

View File

@ -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>