Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: basesrc/games/rogue



Module Name:    basesrc
Committed By:   wiz
Date:           Thu Aug  9 13:02:49 UTC 2001

Modified Files:
        basesrc/games/rogue: score.c

Log Message:
Fix for FreeBSD/13278, from FreeBSD:
When a game ends that makes the top 10, the function insert_score in
score.c is called to make the new score file.  But the case for KFIRE
(killed by fire) incorrectly uses strcpy instead of strcat (all the
other cases use strcat).  This puts the string in the wrong place and
corrupts the score file.


To generate a diff of this commit:
cvs rdiff -r1.8 -r1.9 basesrc/games/rogue/score.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index