From: Adam Dickmeiss Date: Tue, 4 Apr 2006 00:09:00 +0000 (+0000) Subject: Don't exit in dir_open. X-Git-Tag: before.bug.529~178 X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=commitdiff_plain;h=1a57f931b61684b92a5322e18ee6e4b27a7d8c31 Don't exit in dir_open. --- diff --git a/index/dir.c b/index/dir.c index dc56847..44b22cb 100644 --- a/index/dir.c +++ b/index/dir.c @@ -1,4 +1,4 @@ -/* $Id: dir.c,v 1.31 2005-06-14 20:28:53 adam Exp $ +/* $Id: dir.c,v 1.32 2006-04-04 00:09:00 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -70,8 +70,6 @@ struct dir_entry *dir_open (const char *rep, const char *base, if (!(dir = opendir(full_rep))) { yaz_log (YLOG_WARN|YLOG_ERRNO, "opendir %s", rep); - if (errno != ENOENT && errno != EACCES) - exit (1); return NULL; } entry = (struct dir_entry *) xmalloc (sizeof(*entry) * entry_max);