diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-12-11 15:26:32 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-12-11 15:26:32 +0000 |
commit | bc15f0f8141be82f35b7ee2cbf757482bc32b7c9 (patch) | |
tree | a447269b75ab4ff8fd30056ff623057ca9e98512 /sysdeps | |
parent | 724049ba8b2ca2d39c198c38cec83636b77c4656 (diff) | |
download | glibc-bc15f0f8141be82f35b7ee2cbf757482bc32b7c9.tar glibc-bc15f0f8141be82f35b7ee2cbf757482bc32b7c9.tar.gz glibc-bc15f0f8141be82f35b7ee2cbf757482bc32b7c9.tar.bz2 glibc-bc15f0f8141be82f35b7ee2cbf757482bc32b7c9.zip |
Update.
1998-12-11 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/opendir.c (__opendir): Use __xstat instead of
__stat.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/opendir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/opendir.c b/sysdeps/unix/opendir.c index 20b7b4ef98..9798e52850 100644 --- a/sysdeps/unix/opendir.c +++ b/sysdeps/unix/opendir.c @@ -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)) { |