projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
139ee08
)
Avoid local PLTs.
author
Ulrich Drepper
<drepper@redhat.com>
Wed, 25 Nov 2009 02:47:26 +0000
(18:47 -0800)
committer
Ulrich Drepper
<drepper@redhat.com>
Wed, 25 Nov 2009 02:47:26 +0000
(18:47 -0800)
sysdeps/unix/sysv/linux/grantpt.c
patch
|
blob
|
history
diff --git
a/sysdeps/unix/sysv/linux/grantpt.c
b/sysdeps/unix/sysv/linux/grantpt.c
index
6305ed4
..
f2fc60f
100644
(file)
--- a/
sysdeps/unix/sysv/linux/grantpt.c
+++ b/
sysdeps/unix/sysv/linux/grantpt.c
@@
-15,11
+15,11
@@
static void
close_all_fds (void)
{
- DIR *dir = opendir ("/proc/self/fd");
+ DIR *dir =
__
opendir ("/proc/self/fd");
if (dir != NULL)
{
struct dirent64 *d;
- while ((d = readdir64 (dir)) != NULL)
+ while ((d =
__
readdir64 (dir)) != NULL)
if (isdigit (d->d_name[0]))
{
char *endp;
@@
-28,7
+28,7
@@
close_all_fds (void)
close_not_cancel_no_status (fd);
}
- closedir (dir);
+
__
closedir (dir);
int nullfd = open_not_cancel_2 (_PATH_DEVNULL, O_RDONLY);
assert (nullfd == STDIN_FILENO);