🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sources.bugs
Article #909

Re: Nethack 1.4 problems

#909
From: Daniel D Arndt
Date: Tue, 25 Aug 1987 13:10
22 lines
1719 bytes
In article <1376@killer.UUCP> ghoti@killer.UUCP (Alan Perry) writes:
>..I just recently applied the 1.4 fixes to all the files mentioned, but somehow
>the zap.c file got completely destroyed (errors flying out of it like the
>bats out of Carlsbad Caverns).  I went back to the old version, but could
>someone either post or email a set of diffs to fix the file or tell me what
>to do to the fix to fix it....
All those errors are caused by ONE typo.  There is a newline in a string
that is throwing the compiler off("\").  It should be escaped("\\").
Here is the line:

        (dx == dy) ? `\` : (dx && dy) ? `/` : dx ? HWALL_SYM : VWALL_SYM
Make this change:     ^
        (dx == dy) ? `\\` : (dx && dy) ? `/` : dx ? HWALL_SYM : VWALL_SYM
		      ^^

That will get rid of all those error messages.
BTW, did you look at the first error you got?  It should have been something
like "newline in string"  Very often, many error messages are caused by one 
error(usually the first or second).
 
daniel@csd4.milw.wisc.edu
Technical Details
Message-ID: <2729@uwmcsd1.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!seismo!rutgers!nysernic!itsgw!leah!uwmcsd1!csd4.milw.wisc.edu!daniel
References: <1376@killer.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!seismo!rutgers!nysernic!itsgw!leah!uwmcsd1!csd4.milw.wisc.edu!daniel
From: daniel@csd4.milw.wisc.edu (Daniel D Arndt)
Newsgroups: comp.sources.bugs
Subject: Re: Nethack 1.4 problems
Message-ID: <2729@uwmcsd1.UUCP>
Date: Tue, 25-Aug-87 09:10:31 EDT
Article-I.D.: uwmcsd1.2729
Posted: Tue Aug 25 09:10:31 1987
Date-Received: Wed, 26-Aug-87 06:08:20 EDT
References: <1376@killer.UUCP>
Sender: daemon@uwmcsd1.UUCP
Reply-To: daniel@csd4.milw.wisc.edu.UUCP (Daniel D Arndt)
Organization: University of WI-Milwaukee
Lines: 22
Keywords: Nethack, problems, bugs
Summary: newline in string