Up to [local] / src / usr.bin / fmt
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_5_1_BASE
Revision 1.29 / (download) - annotate - [select for diffs], Tue Jan 17 04:26:28 2012 UTC (12 years, 4 months ago) by lum
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE,
OPENBSD_5_4,
OPENBSD_5_3_BASE,
OPENBSD_5_3,
OPENBSD_5_2_BASE,
OPENBSD_5_2,
OPENBSD_5_1_BASE,
OPENBSD_5_1
Changes since 1.28: +6 -5 lines
Diff to previous 1.28 (colored)
Change the exit value on errors to be more 4.4BSD like. Use the sum of errors up to a maximum of 127, then to do not increment anymore, though programme execution continues. Use 127 as a maximum because error codes above this are: 1. bad because of signed bugs in programs. 2. used as the traditional shell $? representation of "kill by signal" where $? = 128 + signal. (from deraadt@ and guenther@ respectively)