Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!zaphod.mps.ohio-state.edu!think.com!paperboy!meissner From: meissner@osf.org (Michael Meissner) Newsgroups: comp.lang.perl Subject: Re: die() exit status and printing $1,$2... in the debugger Message-ID: Date: 10 Jan 91 17:18:29 GMT References: <3000@yarra-glen.aaii.oz.au> <10980@jpl-devvax.JPL.NASA.GOV> Sender: news@OSF.ORG Organization: Open Software Foundation Lines: 18 In-reply-to: lwall@jpl-devvax.JPL.NASA.GOV's message of 10 Jan 91 02:45:38 GMT In article <10980@jpl-devvax.JPL.NASA.GOV> lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) writes: | It would seem that your compiler or run-time system is hosed. The | statement in fatal() in util.c is | | statusvalue >>= 8; /* is an unsigned short */ | exit((int)(errno?errno:(statusvalue?statusvalue:255))); | | How can that return a 0, I ask you? Errno could possibly be 256 (or some multiple thereof). Under OSF/1, we are up to 125 (though there are some holes). -- Michael Meissner email: meissner@osf.org phone: 617-621-8861 Open Software Foundation, 11 Cambridge Center, Cambridge, MA, 02142 Considering the flames and intolerance, shouldn't USENET be spelled ABUSENET?