Return to BSD News archive
Path: sserve!manuel!munnari.oz.au!uunet!olivea!spool.mu.edu!agate!dog.ee.lbl.gov!hellgate.utah.edu!fcom.cc.utah.edu!cs.weber.edu!terry
From: terry@cs.weber.edu (A Wizard of Earth C)
Newsgroups: comp.unix.bsd
Subject: Re: PROG004 bug (Rogue)
Message-ID: <1992Sep21.042416.23382@fcom.cc.utah.edu>
Date: 21 Sep 92 04:24:16 GMT
References: <NwkHr*F00@channelz.GUN.de>
Sender: news@fcom.cc.utah.edu
Reply-To: terry@icarus.weber.edu
Organization: Weber State University (Ogden, UT)
Lines: 27
In article <NwkHr*F00@channelz.GUN.de> swildner@channelz.GUN.de (Sascha Wildner) writes:
>I just read about Rogue rebooting the machine in the bug-list. Here it didn't
>reboot, but would print the message "Can't lock score file -more-" every time
>I tried to quit the game. It appeared that Rogue couldn't find the
>/var/games directory. When I created one, Rogue did no longer complain about
>the score file.
>
>P.S.: I still can't save my games. :(
1) The reboot is a result of non-reentrancy in the reverse-scrolling
code. There was a patch posted here to pccons.c, and it will be
included in the Alpha-3 code.
2) modify the open() to "a+" instead of "a"... the file is being truncated.
Terry Lambert
terry_lambert@gateway.novell.com
terry@icarus.weber.edu
---
Any opinions in this posting are my own and not those of my present
or previous employers.
--
-------------------------------------------------------------------------------
"I have an 8 user poetic license" - me
Get the 386bsd FAQ from agate.berkeley.edu:/pub/386BSD/386bsd-0.1/unofficial
-------------------------------------------------------------------------------