bryan@cs.utexas.edu (Bryan Bayerdorffer @ Wit's End) (03/07/90)
Nethack consistently trashes NetHack:record. When the file is empty, it writes the score, cause of death, etc. ok. At the end of the next game (i.e. when the file is not empty) however, it appends a bunch of random trash instead of the next score. This consist of various random string fragments from the current game, including fragments of the strngs it is supposed to be writing. This happens both with the version archived at xanth.cs.odu.edu, and with a version I compiled myself. I compiled the source using Lattice 5.04. I believe the other version was compiled with 5.04 as well. Another unrelated bug: twice now a bones file has been created with a 0 length, or later truncated to length 0, I'm not sure which. The next time nethack tries to read such a file, it panics with an 'EOF on file #3', and gurus. Finally, I once found a pile of about -MAXINT/2 black knives, after only one knife had been thrown at me. Can't reproduce this one. Any clues?