Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site eagle.UUCP Path: utzoo!watmath!clyde!burl!ulysses!eagle!mjs From: mjs@eagle.UUCP (M.J.Shannon) Newsgroups: net.lang.c Subject: Re: how has C bitten you? Message-ID: <1309@eagle.UUCP> Date: Sat, 3-Aug-85 11:28:32 EDT Article-I.D.: eagle.1309 Posted: Sat Aug 3 11:28:32 1985 Date-Received: Sun, 4-Aug-85 08:49:04 EDT References: <4051@alice.UUCP> <251@frog.UUCP> Organization: AT&T Bell Laboratories, Summit, NJ Lines: 12 Then of course is the obvious: if (fd = open("/etc/passwd", 0) == -1) panic("No password file?"); This, too goes in the category of "when in doubt, parenthesize". -- Marty Shannon UUCP: ihnp4!eagle!mjs Phone: +1 201 522 6063 Warped people are throwbacks from the days of the United Federation of Planets.