🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #32509

Megamax v1.1 Bug?

#32509
From: paone
Date: Fri, 13 May 1988 00:53
20 lines
981 bytes
I have been playing with my v1.1 of Megamax C and found what appears
to be a bug in c lib.  argc is being initialized to 1 instead of 0 so
even when no arguments are passed, argc is 1.  I went into the library
and patched this up, but the argv also appears to be off.  Is this the
case, or is this supposed to be different from UNIX's method of
handling them (Yes, I know argv[0] does not work)?

			Thanks,
			Phil Paone



			
-- 
Phil Paone
paone@topaz.rutgers.edu
ihnp4!moss!oac!ppaone

"Admiral...There be whales here"
Technical Details
Message-ID: <May.12.20.53.04.1988.25733@topaz.rutgers.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!bellcore!faline!thumper!ulysses!andante!princeton!udel!gatech!rutgers!topaz.rutgers.edu!paone

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!bellcore!faline!thumper!ulysses!andante!princeton!udel!gatech!rutgers!topaz.rutgers.edu!paone
From: paone@topaz.rutgers.edu.UUCP
Newsgroups: comp.sys.atari.st
Subject: Megamax v1.1 Bug?
Keywords: argc,argv
Message-ID: <May.12.20.53.04.1988.25733@topaz.rutgers.edu>
Date: 13 May 88 00:53:07 GMT
Organization: Rutgers Univ., New Brunswick, N.J.
Lines: 20
Posted: Thu May 12 20:53:07 1988