Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!cica!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!zephyr.ens.tek.com!orca!quark!jeff From: jeff@quark.WV.TEK.COM (Jeff Beadles) Newsgroups: comp.sources.games.bugs Subject: Ularn: to_ansi.c invalid exit code Keywords: Ularn, naughty programers :-), make, failure Message-ID: <4002@orca.WV.TEK.COM> Date: 24 Jul 89 04:33:12 GMT Sender: nobody@orca.WV.TEK.COM Reply-To: jeff@quark.WV.TEK.COM (Jeff Beadles) Organization: Tektronix, Inc., Wilsonville, OR Lines: 16 References: There's a problem with to_ansi.c on some systems. It's called from a makefile, and does not return a valid exit code. Depending on what's in memory, a random exit code can be returned. At the second to last line, (Right before the last '}') insert: exit(0); This will insure that make will see a '0' return code. (I would have provided a diff, but couldn't find my original copy anywhere :-) -Jeff -- Jeff Beadles Utek Sustaining Engineering, Tektronix Inc. jeff@quark.WV.TEK.COM ...uunet!tektronix!quark.wv!jeff