Date: Sat, 28 Feb 1998 22:45:42 -0700 From: Warner Losh <imp@village.org> To: "Jordan K. Hubbard" <jkh@freebsd.org> Cc: cvs-committers@freebsd.org, cvs-all@freebsd.org, cvs-games@freebsd.org Subject: Re: cvs commit: src/games/arithmetic arithmetic.c src/games/cribbage crib.c src/games/factor factor.c src/games/fish fish.c src/games/morse morse.c src/games/number number.c src/games/phantasia setup.c src/games/piano piano.c src/games/pig ... Message-ID: <199803010545.WAA00709@harmony.village.org> In-Reply-To: Your message of "Sat, 28 Feb 1998 21:10:29 PST." <199803010510.VAA05161@freefall.freebsd.org> References: <199803010510.VAA05161@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <199803010510.VAA05161@freefall.freebsd.org> "Jordan K. Hubbard" writes: : Wargh! Who went and changed all the getopt() comparisons from -1 to : EOF? The getopt(3) manpage clearly states that the return value is *-1*, : not EOF! Besides, getopt(3) isn't reading from a file. :) ooops. I thought that I had done this in -current, but looking at the logs it appears that I didn't... So this was the original code never changed. EOF was the original definition a long time ago... Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803010545.WAA00709>