Mercurial > emacs
changeset 55552:dc9bd6dd0d8d
New entry re clamping to EXIT_FAILURE.
author | Thien-Thi Nguyen <ttn@gnuvola.org> |
---|---|
date | Wed, 12 May 2004 14:39:34 +0000 |
parents | fe582ae1003e |
children | 1efb9d658114 |
files | admin/notes/exit-value |
diffstat | 1 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/admin/notes/exit-value Wed May 12 11:03:59 2004 +0000 +++ b/admin/notes/exit-value Wed May 12 14:39:34 2004 +0000 @@ -21,3 +21,15 @@ #endif Values aside from EXIT_SUCCESS and EXIT_FAILURE are tricky. + + + +ttn 2004-05-12 + +Values aside from EXIT_SUCCESS and EXIT_FAILURE can be used to indicate +finer gradations of failure. If this is the only information available +to the caller, clamping such values to EXIT_FAILURE loses information. +If there are other ways to indicate the problem to the caller (such as +a message to stderr) it may be ok to clamp. In all cases, it is the +relationship between the program and its caller that must be examined. +[Insert ZAMM quote here.]