From owner-cvs-all Sat Feb 28 21:11:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA11212 for cvs-all-outgoing; Sat, 28 Feb 1998 21:11:25 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA11203; Sat, 28 Feb 1998 21:11:21 -0800 (PST) (envelope-from jkh@FreeBSD.org) From: "Jordan K. Hubbard" Received: (from jkh@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id VAA05161; Sat, 28 Feb 1998 21:10:29 -0800 (PST) Date: Sat, 28 Feb 1998 21:10:29 -0800 (PST) Message-Id: <199803010510.VAA05161@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-games@FreeBSD.ORG Subject: 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 ... Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk jkh 1998/02/28 21:10:29 PST Modified files: games/arithmetic arithmetic.c games/cribbage crib.c games/factor factor.c games/fish fish.c games/morse morse.c games/number number.c games/phantasia setup.c games/piano piano.c games/pig pig.c games/primes primes.c games/quiz quiz.c games/random random.c games/worms worms.c games/wump wump.c Log: 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. :) Noticed-while: merging to 2.2 (where this is correct). Revision Changes Path 1.4 +1 -1 src/games/arithmetic/arithmetic.c 1.5 +1 -1 src/games/cribbage/crib.c 1.6 +1 -1 src/games/factor/factor.c 1.4 +1 -1 src/games/fish/fish.c 1.6 +1 -1 src/games/morse/morse.c 1.7 +1 -1 src/games/number/number.c 1.7 +1 -1 src/games/phantasia/setup.c 1.5 +2 -2 src/games/piano/piano.c 1.4 +1 -1 src/games/pig/pig.c 1.6 +1 -1 src/games/primes/primes.c 1.8 +1 -1 src/games/quiz/quiz.c 1.9 +1 -1 src/games/random/random.c 1.5 +1 -1 src/games/worms/worms.c 1.6 +2 -2 src/games/wump/wump.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message