replace core use of strdup() with dupstr() (trunk only)

This commit is contained in:
nethack.rankin
2012-03-10 02:22:07 +00:00
parent a4cb32e786
commit 78127038a0
3 changed files with 9 additions and 9 deletions

View File

@@ -41,8 +41,8 @@ sys_early_init(){
#ifdef PANICTRACE
/* panic options */
sysopt.gdbpath = strdup(GDBPATH);
sysopt.greppath = strdup(GREPPATH);
sysopt.gdbpath = dupstr(GDBPATH);
sysopt.greppath = dupstr(GREPPATH);
# ifdef BETA
sysopt.panictrace_gdb = 1;
# ifdef PANICTRACE_LIBC