diff options
author | Eric Blake <ebb9@byu.net> | 2009-10-08 08:13:02 -0600 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2009-10-08 20:30:03 -0600 |
commit | 2a876d901d8cccb3f633b65a93abaead81628a8f (patch) | |
tree | 123ab1690b47809770870636a009429b6e10d365 /src/system.h | |
parent | a797c4d7d3496e730d3bb3b19703396d31a65fad (diff) | |
download | coreutils-2a876d901d8cccb3f633b65a93abaead81628a8f.tar.xz |
maint: move timeout exit statuses
* src/timeout.c (EXIT_TIMEDOUT, EXIT_CANCELED): Remove as
macros...
* src/system.h (EXIT_TIMEDOUT, EXIT_CANCELED): ...and provide as
enum values instead.
* src/stdbuf.c (EXIT_CANCELED): Delete.
Diffstat (limited to 'src/system.h')
-rw-r--r-- | src/system.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/system.h b/src/system.h index ce7114891..f3e26a835 100644 --- a/src/system.h +++ b/src/system.h @@ -107,8 +107,10 @@ you must include <sys/types.h> before including this file /* Exit statuses for programs like 'env' that exec other programs. */ enum { - EXIT_CANNOT_INVOKE = 126, - EXIT_ENOENT = 127 + EXIT_TIMEDOUT = 124, /* Time expired before child completed. */ + EXIT_CANCELED = 125, /* Internal error prior to exec attempt. */ + EXIT_CANNOT_INVOKE = 126, /* Program located, but not usable. */ + EXIT_ENOENT = 127 /* Could not find program to exec. */ }; #include "exitfail.h" |