Path: utzoo!utgpu!watmath!att!tut.cis.ohio-state.edu!ucbvax!agate!helios.ee.lbl.gov!ucsd!sdcsvax!amos!hartung From: hartung@amos.ling.ucsd.edu (Jeff Hartung) Newsgroups: comp.sources.games.bugs Subject: Re: nethack3 (semi-problem w/ do_wear.c) Keywords: nh3, unpacking source, extra newline, do_wear.c Message-ID: <6890@sdcsvax.UCSD.Edu> Date: 28 Jul 89 17:18:31 GMT References: <43@peyote.cactus.org> Sender: nobody@sdcsvax.UCSD.Edu Reply-To: hartung@amos.UUCP (Jeff Hartung) Organization: Univ. of Calif., San Diego Lines: 20 In article <43@peyote.cactus.org> johnk@peyote.cactus.org (John Knutson) writes: #Last night I set nethack to compile. This morning there was a message in #my mailbox telling me that the make had terminated with do_wear.c at line #1338. I checked out the file and this is what i saw: # otmp = (struc #t obj *) 0; # #Can I correctly assume it's supposed to be "otmp = (struft obj *) 0;"? Yep. When I extracted the part that contained do_wear.c, I got a message that do_wear.c was extracted with the wrong size. An "ls -l" revealed that it was one extra byte in size. Later, when I compiled it, I found it ... the ^M (or ^J ?) between the c and t in the word 'struct'. Just join the two lines and it'll compile just fine. --Jeff Hartung-- Disclaimer: My opinions only, etc., etc., BLAH! BLAH! BLAH!... ARPA - hartung@amos.ucsd.edu UUCP - ucsd!amos.ucsd.edu!hartung