(EFF_CUSTOM): New.

(read_config_table_file): Set it.
(show_custom): Show it.
(vers): Use it.
This commit is contained in:
Markus Armbruster 2006-02-23 08:37:46 +00:00
parent 5537d902b7
commit 99a1450c98
3 changed files with 23 additions and 2 deletions

View file

@ -109,7 +109,8 @@ read_config_table_file(char *fname)
return -1;
}
for (n = 0; (res = xundump(fp, fname, EF_BAD)) >= 0; n++) ;
for (n = 0; (res = xundump(fp, fname, EF_BAD)) >= 0; n++)
empfile[res].flags |= EFF_CUSTOM;
if (res != EF_BAD && n == 0)
fprintf(stderr, "Warning: configuration file %s is empty\n", fname);