MCPcopy Create free account
hub / github.com/NetHack/NetHack / cnf_line_DEBUGFILES

Function cnf_line_DEBUGFILES

src/cfgfiles.c:838–849  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

836}
837
838staticfn boolean
839cnf_line_DEBUGFILES(char *bufp)
840{
841 /* might already have a vaule from getenv("DEBUGFILES");
842 if so, ignore this value from SYSCF */
843 if (!sysopt.env_dbgfl) {
844 if (sysopt.debugfiles)
845 free((genericptr_t) sysopt.debugfiles);
846 sysopt.debugfiles = dupstr(bufp);
847 }
848 return TRUE;
849}
850
851staticfn boolean
852cnf_line_DUMPLOGFILE(char *bufp)

Callers

nothing calls this directly

Calls 1

dupstrFunction · 0.85

Tested by

no test coverage detected