Index: ossp-pkg/petidomo/acl.y RCS File: /v/ossp/cvs/ossp-pkg/petidomo/acl.y,v rcsdiff -q -kk '-r1.9' '-r1.10' -u '/v/ossp/cvs/ossp-pkg/petidomo/acl.y,v' 2>/dev/null --- acl.y 2001/01/19 14:56:33 1.9 +++ acl.y 2001/01/19 16:08:51 1.10 @@ -261,6 +261,7 @@ switch(errno) { case ENOENT: /* no master acl file */ + syslog(LOG_WARNING, "You have no global acl file (%s). This is probably not a good idea.", MasterConfig->acl_file); goto check_local_acl_file; default: syslog(LOG_ERR, "Couldn't open \"%s\" acl file: %s", MasterConfig->acl_file, strerror(errno)); @@ -289,16 +290,16 @@ check_local_acl_file: - /* Set up the lex scanner. */ - - BEGIN(INITIAL); - lineno = 1; operation = ACL_NONE; - /* Do we have a local acl file to test? */ if (listname == NULL) goto finished; + /* Set up the lex scanner. */ + + BEGIN(INITIAL); + lineno = 1; operation = ACL_NONE; + ListConfig = getListConfig(listname); yyin = fopen(ListConfig->acl_file, "r"); if (yyin == NULL) {