SYSCF for VMS (trunk only)

Enable SYSCF_FILE for VMS, and simplify option initialization
in the process.  I still need to put a template into the playground
directory during initial install, and the one in sys/unix/ probably
isn't appropriate.
This commit is contained in:
nethack.rankin
2011-04-23 01:51:01 +00:00
parent 4222d09874
commit 2228943015
4 changed files with 17 additions and 12 deletions

View File

@@ -136,9 +136,7 @@ char *argv[];
chdirx(dir,0);
#endif
#ifdef SYSCF
initoptions_init();
read_config_file(SYSCF_FILE, SET_IN_SYS);
initoptions_finish();
initoptions();
#endif
#ifdef PANICTRACE
ARGV0 = argv[0]; /* save for possible stack trace */
@@ -165,11 +163,7 @@ char *argv[];
#ifdef __linux__
check_linux_console();
#endif
initoptions_init();
#ifdef SYSCF
read_config_file(SYSCF_FILE, SET_IN_SYS);
#endif
initoptions_finish();
initoptions();
#ifdef PANICTRACE
ARGV0 = argv[0]; /* save for possible stack trace */
# ifndef NO_SIGNAL