Up to [cvs.NetBSD.org] / src / games / rogue
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: netbsd-1-6-PATCH002-RC4
Revision 1.9 / (download) - annotate - [select for diffs], Thu Aug 9 13:02:49 2001 UTC (22 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6
Changes since 1.8: +3 -3
lines
Diff to previous 1.8 (colored)
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.