]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Fri, 11 Dec 1998 15:26:32 +0000 (15:26 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 11 Dec 1998 15:26:32 +0000 (15:26 +0000)
1998-12-11  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/opendir.c (__opendir): Use __xstat instead of
__stat.

ChangeLog
sysdeps/unix/opendir.c

index b3718a6b7b657d27fa9907debca57f08fe243a11..8dcc4948f989d7df75c6354dee4050d278098553 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1998-12-11  Ulrich Drepper  <drepper@cygnus.com>
+
+       * sysdeps/unix/opendir.c (__opendir): Use __xstat instead of
+       __stat.
+
 1998-12-11  Kunihiro Ishiguro  <kunihiro@zebra.org>
 
        * inet/netinet/in.h: Change obsolete structure member
index 20b7b4ef98e319449b0ab873978d57552989f227..9798e52850265dc7577e08660bdb5da713b94664 100644 (file)
@@ -96,7 +96,7 @@ __opendir (const char *name)
       /* We first have to check whether the name is for a directory.  We
         cannot do this after the open() call since the open/close operation
         performed on, say, a tape device might have undesirable effects.  */
-      if (__stat (name, &statbuf) < 0)
+      if (__xstat (_STAT_VER, name, &statbuf) < 0)
        return NULL;
       if (! S_ISDIR (statbuf.st_mode))
        {