Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!uunet!mcvax!kth!sunic!dkuug!dde!tpo From: tpo@dde.dk (Thomas Peter Sonne Olesen) Newsgroups: comp.sources.games.bugs Subject: Re: Conquer 4 core dump Message-ID: <603@Aragorn.dde.dk> Date: 30 Jun 89 08:05:31 GMT References: <3448@uokmax.UUCP> Organization: Dansk Data Elektronik A/S, Herlev, Denmark Lines: 43 randy@uokmax.UUCP (Longshot) writes: >Conquer v4 is core-dumping rather nastily when making a new world (conqrun -m). >Anyone else gotten this, and fixed it? Yes, I traced it down to be a stack error, and it disapeared when I changed the size of the newstring[40] in routine makeworld in module makeworl.c to newstring[80]. Or in patch format: *** makeworl.c.ori --- makeworl.c ************** *** 45,51 int rflag; /* TRUE if you wish to read in a map from mapfiles */ { char passwd[PASSLTH+1],*getpass(); ! char newstring[40]; FILE *fopen(); /*abort if datafile currently exists*/ --- 45,51 ----- int rflag; /* TRUE if you wish to read in a map from mapfiles */ { char passwd[PASSLTH+1],*getpass(); ! char newstring[80]; FILE *fopen(); /*abort if datafile currently exists*/ /Thomas -- ***************************************************************************** Thomas P.S. Olesen Dansk Data Elektronik A/S E-mail: ..!uunet!mcvax!dkuug!dde!tpo System Software Department or tpo@dde.dk