projects
/
kopensolaris-gnu
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71d28ea
)
(__open_catalog): Set catalog->status to "nonexisting" if failed to
author
drepper
<drepper>
Sun, 2 May 1999 11:04:15 +0000
(11:04 +0000)
committer
drepper
<drepper>
Sun, 2 May 1999 11:04:15 +0000
(11:04 +0000)
open the file.
catgets/open_catalog.c
patch
|
blob
|
history
diff --git
a/catgets/open_catalog.c
b/catgets/open_catalog.c
index
4b619e4
..
aefa34f
100644
(file)
--- a/
catgets/open_catalog.c
+++ b/
catgets/open_catalog.c
@@
-183,7
+183,10
@@
__open_catalog (__nl_catd catalog)
/* Avoid dealing with directories and block devices */
if (fd < 0)
- goto unlock_return;
+ {
+ catalog->status = nonexisting;
+ goto unlock_return;
+ }
if (__fxstat (_STAT_VER, fd, &st) < 0)
{