From bc15f0f8141be82f35b7ee2cbf757482bc32b7c9 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 11 Dec 1998 15:26:32 +0000 Subject: Update. 1998-12-11 Ulrich Drepper * sysdeps/unix/opendir.c (__opendir): Use __xstat instead of __stat. --- sysdeps/unix/opendir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps/unix') diff --git a/sysdeps/unix/opendir.c b/sysdeps/unix/opendir.c index 20b7b4e..9798e52 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)) { -- cgit v1.1