From owner-cvs-all Wed May 23 14: 1: 6 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 15D1537B424; Wed, 23 May 2001 14:01:02 -0700 (PDT) (envelope-from phk@FreeBSD.org) Received: (from phk@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f4NL12G30364; Wed, 23 May 2001 14:01:02 -0700 (PDT) (envelope-from phk) Message-Id: <200105232101.f4NL12G30364@freefall.freebsd.org> From: Poul-Henning Kamp Date: Wed, 23 May 2001 14:01:01 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/games/rogue score.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG phk 2001/05/23 14:01:01 PDT Modified files: games/rogue score.c Log: 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. PR: 13278 Submitted by: Mark W. Krentel krentel@dreamscape.com Revision Changes Path 1.5 +2 -2 src/games/rogue/score.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message