Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!wuarchive!texbell!sugar!peter From: peter@sugar.hackercorp.com (Peter da Silva) Newsgroups: comp.sys.amiga.tech Subject: Re: Manx 5.0 bug -- response from Manx Message-ID: <5158@sugar.hackercorp.com> Date: 16 Feb 90 04:16:43 GMT References: <4228@jhunix.HCF.JHU.EDU> Reply-To: peter@sugar.hackercorp.com (Peter da Silva) Organization: Sugar Land Unix - Houston Lines: 16 In article <4228@jhunix.HCF.JHU.EDU> barrett@jhunix.HCF.JHU.EDU (Dan Barrett) writes: > >From: Mike Spille/Manx <71545.1466@CompuServe.COM> > >We do not plan to change this behavior, as with the current library > >[...] because it's not possible to tell whether or not any value was > >actually returned from main() or not. > Yecch. They're right. Main() should return a valid value, either by calling exit() or by calling return with a value. Falling off the end of main() is not a valid way to return from a program. -- _--_|\ Peter da Silva . / \ \_.--._/ I haven't lost my mind, it's backed up on tape somewhere! v "Have you hugged your wolf today?" `-_-'