🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #13711

Manx 5.0 bug -- response from Manx

#13711
From: Dan Barrett
Date: Thu, 15 Feb 1990 01:24
31 lines
1743 bytes
	I informed Mike Spille of Manx about the bug I mentioned in this
group (getchar() at EOF causes the operating system to say "cannot load
file").  Indeed, _main() is returning -1 to the operating system, causing
this error.  The workaround is to explicit return(0) or exit(0) in your
main().

	However, Manx does NOT plan to fix this bug!  Here is the response.

>Date: 14 Feb 90 16:46:33 EST
>From: Mike Spille/Manx <71545.1466@CompuServe.COM>
>To: <barrett>
>Subject: Re: Bug in getchar() reported by me earlier
>
>We do not plan to change this behavior, as with the current library
>implimentation it would not be easy to do so (this is because it's not
>possible to tell whether or not any value was actually returned from
>main() or not).  Incidentally, you can say return (0) instead of
>exit (0), from within main, if you prefer that syntax.
>
>	-Mike

	Yecch.

                                                        Dan

 //////////////////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
| Dan Barrett, Department of Computer Science      Johns Hopkins University |
| INTERNET:   barrett@cs.jhu.edu           |                                |
| COMPUSERVE: >internet:barrett@cs.jhu.edu | UUCP:   barrett@jhunix.UUCP    |
 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/////////////////////////////////////
Technical Details
Message-ID: <4228@jhunix.HCF.JHU.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!rpi!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!jhunix!barrett

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!rpi!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!jhunix!barrett
From: barrett@jhunix.HCF.JHU.EDU (Dan Barrett)
Newsgroups: comp.sys.amiga.tech
Subject: Manx 5.0 bug -- response from Manx
Message-ID: <4228@jhunix.HCF.JHU.EDU>
Date: 15 Feb 90 01:24:35 GMT
Organization: The Johns Hopkins University - HCF
Lines: 31