From 4e720dd60d95bee7af035604010c054ec1b2dc7a Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 2 May 1999 11:05:14 +0000 Subject: Update. 1999-05-02 H.J. Lu * timezone/zic.c (dolink): Remove the symlink destination first. * catgets/open_catalog.c (__open_catalog): Set catalog->status to "nonexisting" if failed to open the file. --- catgets/open_catalog.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'catgets/open_catalog.c') diff --git a/catgets/open_catalog.c b/catgets/open_catalog.c index 4b619e49e9..aefa34f3fa 100644 --- 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) { -- cgit v1.2.3