Prevent commas, equal signs, and tabs in reason for death. Comma can make while-helpless reason ambiguous in record and basic logfile. Equal sign can do the same for fixrecord.awk, the awk program that can be used to fix up corrupted 3.6.0 record files, if it resorts to constructing logfile records out of xlogfile records. And tab could break parsing of xlogfile (it should already be excluded though; the code that lets players assign names to monsters uses mungspaces(), and one of the things that does is to convert any tab into a space before squeezing consecutive spaces down to one). The name alteration shows up for tombstone as well as for file entries. That could be changed but hardly seems worth the effort. Perhaps the name sanitizing ought to be moved to the initial naming? At least then it would be pretty obvious that it was intentional rather by mistake.
6.2 KiB
6.2 KiB