Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ukma!rutgers!rochester!pt.cs.cmu.edu!andrew.cmu.edu!pb1p+ From: pb1p+@andrew.cmu.edu (Peter Glen Berger) Newsgroups: comp.sources.games.bugs Subject: Re: Bug in G. Bloodshed. Message-ID: Date: 30 Apr 89 14:56:11 GMT References: <8904292023.AA18829@gallux.gallaudet.edu> Organization: Class of '90, Carnegie Mellon, Pittsburgh, PA Lines: 27 In-Reply-To: <8904292023.AA18829@gallux.gallaudet.edu> I'm fairly certain that Gal. Bloodshed only compiles on BSD, which would explain Timothy Stark's problems. I have a different problem: In makeuniv.c, there is a declaration: int ftell(); /* NOT a long */ However, in stdio.h, ftell is declared as a long. When I tried to change the name of ftell, it barfed on me. So, I simply copied stdio to the compile directory, changed to "stdio.h", and changed ftell to int there. The program compiles fine, but when I run makeuniv < planet.list, it asks me "how many suns"? I respond with 30, it goes on it's merry way. Forever. It never comes back. Why? gdb showed that it was hanging on line 299 of makeplanet.c, with 0s all along the input stream.... ------------------------------------------------------------------------ Pete Berger || ARPA: Pete.Berger@andrew.cmu.edu Professional Student || BITNET: R746PB1P@CMCCVB Carnegie-Mellon University || NEXUS@DRYCAS Do not attend this college. || UUCP: ...!harvard!andrew.cmu.edu!pb1p ------------------------------------------------------------------------ "If only I could/make a deal with god/and get him to swap our places..." ------------------------------------------------------------------------