Date: Wed, 15 Nov 2000 06:43:38 +0900 From: "Daniel C. Sobral" <dcs@newsguy.com> To: Garance A Drosehn <gad@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/lpr/lpd printjob.c Message-ID: <3A11B20A.8AE1A5CA@newsguy.com> References: <200011142132.NAA19274@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A11B20A.8AE1A5CA>