bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: system.h cleanups


From: Pádraig Brady
Subject: Re: system.h cleanups
Date: Thu, 08 Oct 2009 16:05:36 +0100
User-agent: Thunderbird 2.0.0.6 (X11/20071008)

Eric Blake wrote:
> 
>>From 69b7a7ab900a043d6330b400659fb69a1aedde8e Mon Sep 17 00:00:00 2001
> From: Eric Blake <address@hidden>
> Date: Thu, 8 Oct 2009 08:13:02 -0600
> Subject: [PATCH 1/3] 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.

I'm not against this but EXIT_TIMEDOUT is specific to timeout.
Also I'd like to maintain the comments if possible.
Also stdbuf enums its own EXIT_CANCELED

I also noticed

nohup enums NOHUP_FAILURE=127 which clashes with EXIT_ENOENT?
Also chroot, ence, nice and su only use EXIT_FAILURE?

cheers,
Pádraig.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]