Path: 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: 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 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"