about summary refs log tree commit diff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-11-24 18:47:26 -0800
committerUlrich Drepper <drepper@redhat.com>2009-11-24 18:47:26 -0800
commit0f622686af3ae5a8f03dae886b08c260b38bda16 (patch)
treef9ae9d6bf936c9d5a60349af546a977ec9e1b285 /sysdeps/unix
parent139ee080b6b428240bf49f3e6361f3ac729f891a (diff)
downloadglibc-0f622686af3ae5a8f03dae886b08c260b38bda16.tar.gz
glibc-0f622686af3ae5a8f03dae886b08c260b38bda16.tar.xz
glibc-0f622686af3ae5a8f03dae886b08c260b38bda16.zip
Avoid local PLTs.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/grantpt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/grantpt.c b/sysdeps/unix/sysv/linux/grantpt.c
index 6305ed4944..f2fc60f83a 100644
--- 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);