From owner-cvs-all Tue Nov 14 13:45:25 2000 Delivered-To: cvs-all@freebsd.org Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87]) by hub.freebsd.org (Postfix) with ESMTP id D408B37B4C5; Tue, 14 Nov 2000 13:45:21 -0800 (PST) Received: from newsguy.com (p27-dn02kiryunisiki.gunma.ocn.ne.jp [211.0.245.92]) by peach.ocn.ne.jp (8.9.1a/OCN/) with ESMTP id GAA27178; Wed, 15 Nov 2000 06:45:20 +0900 (JST) Message-ID: <3A11B20A.8AE1A5CA@newsguy.com> Date: Wed, 15 Nov 2000 06:43:38 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en,pt-BR MIME-Version: 1.0 To: Garance A Drosehn Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/lpr/lpd printjob.c References: <200011142132.NAA19274@freefall.freebsd.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Garance A Drosehn wrote: > > gad 2000/11/14 13:32:52 PST > > Modified files: > usr.sbin/lpr/lpd printjob.c > Log: > Get rid of 'exit(-1)' calls. Exit codes are limited to 8 bits under most > Unixes, so -1 becomes 0xFF for 2's complement and 0xFE (?) for 1's > complement. That's true, but, afaik, C standard mandates 2's complement. Also, you forgot 0x01 for sign-bit. :-) -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org capo@world.wide.bsdconspiracy.net He has been convicted of criminal possession of a clue with intent to distribute. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message