Subject: CVS commit: basesrc/games/rogue
To: None <source-changes@netbsd.org>
From: Thomas Klausner <wiz@netbsd.org>
List: source-changes
Date: 08/09/2001 16:02:49
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.