]> granicus.if.org Git - nethack/commit
PANICTRACE option parsing
authorPatR <rankin@nethack.org>
Sat, 5 Dec 2015 06:18:17 +0000 (22:18 -0800)
committerPatR <rankin@nethack.org>
Sat, 5 Dec 2015 06:18:17 +0000 (22:18 -0800)
commit9f6f3f5180764f6a13c3f34a6481e0c8f5db23a6
treeeb86c4d8e16e92737724c61a3488462436d6bf26
parent841662ff3200402fa3cae0b940b33daa885fa2a4
PANICTRACE option parsing

Fix the situation where disabling PANICTRACE, which happened implicitly
when BETA  got disabled, caused SYSCF option processing to complain and
quit if the 'sysconf' file contained any PANICTRACE settings.

Now accept all the PANICTRACE options (assuming SYSCF is defined) even
if PANICTRACE is not defined.  Their values are recorded in the 'sysopt'
struct, but only validated when the appropriate macros (PANICTRACE,
PANICTRACE_LIB) are defined.
include/sys.h
src/files.c