Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!mit-eddie!genrad!decvax!ima!haddock!karl From: karl@haddock.UUCP (Karl Heuer) Newsgroups: comp.unix.wizards,comp.lang.c Subject: Re: impossible problem for find(1)? Message-ID: <465@haddock.UUCP> Date: Wed, 29-Apr-87 15:32:58 EDT Article-I.D.: haddock.465 Posted: Wed Apr 29 15:32:58 1987 Date-Received: Sat, 2-May-87 02:43:32 EDT References: <2645@phri.UUCP> <6454@mimsy.UUCP> <5797@brl-smoke.ARPA> Reply-To: karl@haddock.ISC.COM.UUCP (Karl Heuer) Followup-To: comp.lang.c Organization: Interactive Systems, Boston Lines: 14 Xref: mnetor comp.unix.wizards:2081 comp.lang.c:1976 In article <5797@brl-smoke.ARPA> gwyn@brl.arpa (Doug Gwyn) writes: [source for program "newer", ending with] >#ifdef lint > return file1.st_mtime < file2.st_mtime ? 1 : 0; >#else > EXIT( file1.st_mtime < file2.st_mtime ? 1 : 0 ); >#endif I don't mean to flame the author's style, but what's wrong with EXIT( file1.st_mtime < file2.st_mtime ? 1 : 0 ); /* NOTREACHED */ ? That's what the lintpragma is for. Karl W. Z. Heuer (ima!haddock!karl or karl@haddock.isc.com), The Walking Lint