Re: [hackers] [libsl][PATCH] die: exit: use EXIT_FAILURE intead of 1

2022-08-05 Thread explosion-mental
Meh, it's just one line. usually `0` is reserved for 'success' and 1 or more designed to error codes and so on. If the system decides to have such unusual way to handle return codes, then EXIT_* values would be changed. On Fri, Jul 29, 2022 at 3:19 AM Hiltjo Posthuma wrote: > > On Thu, Jul 28,

Re: [hackers] [libsl][PATCH] die: exit: use EXIT_FAILURE intead of 1

2022-07-29 Thread Hiltjo Posthuma
On Thu, Jul 28, 2022 at 07:32:54PM -0500, explosion0men...@gmail.com wrote: > From: explosion-mental > > stdlib.h is included anyway. > --- > util.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/util.c b/util.c > index fe044fc..e03ec21 100644 > --- a/util.c > +++

[hackers] [libsl][PATCH] die: exit: use EXIT_FAILURE intead of 1

2022-07-28 Thread explosion0mental
From: explosion-mental stdlib.h is included anyway. --- util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.c b/util.c index fe044fc..e03ec21 100644 --- a/util.c +++ b/util.c @@ -31,5 +31,5 @@ die(const char *fmt, ...) { fputc('\n', stderr); }