[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gnulib] sysexits.h: Define EX_OK
From: |
Bruno Haible |
Subject: |
Re: [bug-gnulib] sysexits.h: Define EX_OK |
Date: |
Mon, 9 Jan 2006 22:41:26 +0100 |
User-agent: |
KMail/1.5 |
Martin Lambers wrote:
> > But EX_OK is semantically the same as EXIT_SUCCESS. So what about this
> > patch?
>
> I think that the value 0 for EX_OK is obvious enough, so that the extra
> dependency on the exit module does not provide any real benefits.
OK, I've added EX_OK as 0 now. Sorry for the extremely long delay.
Bruno
2006-01-09 Bruno Haible <address@hidden>
* sysexit_.h (EX_OK): New macro.
Suggested by Martin Lambers <address@hidden>.
*** lib/sysexit_.h 14 May 2005 06:03:58 -0000 1.2
--- lib/sysexit_.h 9 Jan 2006 21:47:32 -0000
***************
*** 20,25 ****
--- 20,27 ----
#ifndef _SYSEXITS_H
#define _SYSEXITS_H
+ #define EX_OK 0 /* same value as EXIT_SUCCESS */
+
#define EX_USAGE 64
#define EX_DATAERR 65
#define EX_NOINPUT 66
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [bug-gnulib] sysexits.h: Define EX_OK,
Bruno Haible <=