(EFF_CUSTOM): New.
(read_config_table_file): Set it. (show_custom): Show it. (vers): Use it.
This commit is contained in:
parent
5537d902b7
commit
99a1450c98
3 changed files with 23 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue