mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-26 06:50:07 +00:00
Update.
1998-12-11 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/opendir.c (__opendir): Use __xstat instead of __stat.
This commit is contained in:
parent
724049ba8b
commit
bc15f0f814
@ -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
|
||||
|
@ -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))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user