autopickup exceptions

External names longer than 31 characters trigger a compiler warning
for me about truncation, and that causes make to quit.  So shorten the
two long names.  Also, call the cleanup routine for the FREE_ALL_MEMORY
configuration.
This commit is contained in:
nethack.rankin
2003-11-15 08:09:18 +00:00
parent e9afb34423
commit 23d3a146d9
4 changed files with 11 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
/* SCCS Id: @(#)files.c 3.4 2003/02/18 */
/* SCCS Id: @(#)files.c 3.4 2003/11/14 */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* NetHack may be freely redistributed. See license for details. */
@@ -1745,7 +1745,7 @@ char *tmp_levels;
plnamesuffix(); /* set the character class */
#ifdef AUTOPICKUP_EXCEPTIONS
} else if (match_varname(buf, "AUTOPICKUP_EXCEPTION", 5)) {
add_autopickup_exception_mapping(bufp);
add_autopickup_exception(bufp);
#endif
#ifdef NOCWD_ASSUMPTIONS
} else if (match_varname(buf, "HACKDIR", 4)) {