CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2012/01/16 21:26:28
Modified files:
usr.bin/fmt : fmt.1 fmt.c
Log message:
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)