From: Jim Meyering Date: Fri, 18 Jul 2003 07:18:54 +0000 (+0000) Subject: (NOHUP_FOUND_BUT_CANNOT_INVOKE, NOHUP_FAILURE): X-Git-Tag: v5.0.90~227 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e992d666e1c0d9911f279350270f9fae76bc7814;p=thirdparty%2Fcoreutils.git (NOHUP_FOUND_BUT_CANNOT_INVOKE, NOHUP_FAILURE): Use an anonymous `enum', rather than #define. --- diff --git a/src/nohup.c b/src/nohup.c index a91f9756b5..eee2ca0999 100644 --- a/src/nohup.c +++ b/src/nohup.c @@ -34,12 +34,15 @@ #define AUTHORS "Jim Meyering" -/* This exit status indicates that `nohup' itself failed. */ -#define NOHUP_FAILURE 127 +/* Exit statuses. */ +enum + { + /* `nohup' found the specified command but failed to invoke it. */ + NOHUP_FOUND_BUT_CANNOT_INVOKE = 126, -/* This exit status indicates that `nohup' found the specified command - but failed to invoke it. */ -#define NOHUP_FOUND_BUT_CANNOT_INVOKE 126 + /* `nohup' itself failed, or did not find the specified command. */ + NOHUP_FAILURE = 127 + }; char *program_name;