revert r1.11 of parse.y and create logic in conf_setup instead to deal

with the various scenarios of when to attempt a parse of the config,
load defaults, and when to warn and/or exit.  triggered by bogus warning
first noticed by sobrado@.

ok oga@
This commit is contained in:
okan
2011-08-22 16:18:05 +00:00
parent 912dd46a7e
commit 2dc8df110c
2 changed files with 14 additions and 10 deletions

View File

@@ -462,8 +462,6 @@ pushfile(const char *name)
nfile->name = xstrdup(name);
if ((nfile->stream = fopen(nfile->name, "r")) == NULL) {
if (errno != ENOENT)
warn("%s", nfile->name);
free(nfile->name);
free(nfile);
return (NULL);