Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 May 2001 14:01:01 -0700 (PDT)
From:      Poul-Henning Kamp <phk@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/games/rogue score.c
Message-ID:  <200105232101.f4NL12G30364@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105232101.f4NL12G30364>