From owner-freebsd-current Wed Aug 11 2:38:26 1999 Delivered-To: freebsd-current@freebsd.org Received: from gidgate.gid.co.uk (gidgate.gid.co.uk [193.123.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 6FBD514C0E for ; Wed, 11 Aug 1999 02:38:19 -0700 (PDT) (envelope-from rb@gid.co.uk) Received: (from rb@localhost) by gidgate.gid.co.uk (8.8.8/8.8.7) id KAA03966; Wed, 11 Aug 1999 10:37:32 +0100 (BST) (envelope-from rb) Message-Id: <3.0.6.32.19990811103730.007b8420@192.168.255.1> X-Sender: rbmail@192.168.255.1 X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Wed, 11 Aug 1999 10:37:30 +0100 To: Dominic Mitchell From: Bob Bishop Subject: Re: installing hack(6) overwrites /var/games/hackdir/record file! Cc: Andy Farkas , freebsd-current@FreeBSD.ORG In-Reply-To: <19990811095448.B468@voodoo.pandhm.co.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, At 09:54 11/08/99 +0100, Dominic Mitchell wrote: >On Wed, Aug 11, 1999 at 04:24:55AM +1000, Andy Farkas wrote: >> Perhaps this should be a PR... >> >> Seeing as how we are recently being amused by fortune(6) quotes, I thought >> I'd mention an acronymn that hasn't been used recently: POLA >> >> Can anyone explain why every time I upgrade world, my hard earned 'record' >> file whilst playing hack(6) gets overwritten by /dev/null, and also all >> the user 'bones' and 'save' files rm'd? > >Blimey! I wondered where all my rogue(6) scores were going. This is an >excellent idea. I'll submit a PR, with your diffs and some for rogue. I think you'll find that hack(6) itself silently removes save and bones files that are older than the binary, a precaution because it relies on data layout in the file. This is a PITA but nontrivial to fix. -- Bob Bishop +44 118 977 4017 rb@gid.co.uk fax +44 118 989 4254 (0800-1800 UK) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message