GNU bug report logs -
#10912
timeout: document the exit status when run with "-s KILL"
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 10912 in the body.
You can then email your comments to 10912 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-coreutils <at> gnu.org
:
bug#10912
; Package
coreutils
.
(Wed, 29 Feb 2012 14:58:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Rodrigo Campos <rodrigo <at> sdfg.com.ar>
:
New bug report received and forwarded. Copy sent to
bug-coreutils <at> gnu.org
.
(Wed, 29 Feb 2012 14:58:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
Please keep me in Cc: since I'm not subscribed.
I find out that the exit code when a command times out is 128+9 (when run
instede timeout :-D) rather than 124 when is run with "-s KILL". I found this by
looking at the code (well, comments :)) where is pretty clear.
This patch just adds this to the man page, so no one else checks for 124 and
finds out it doesn't exit with that code :)
I tried to copy the first line from other commits, but I might misunderstood the
style. Also, I didn't compile test it, but it seems simple enough. Sorry in
advance if the style is wrong or introduces a build issue. Please let me know
and I'll fix it :S
Thanks a lot,
Rodrigo
[0001-maint-timeout-document-the-exit-status-when-run-with.patch (text/x-diff, attachment)]
Reply sent
to
Pádraig Brady <P <at> draigBrady.com>
:
You have taken responsibility.
(Wed, 29 Feb 2012 15:46:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Rodrigo Campos <rodrigo <at> sdfg.com.ar>
:
bug acknowledged by developer.
(Wed, 29 Feb 2012 15:46:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 10912-done <at> debbugs.gnu.org (full text, mbox):
On 02/29/2012 02:49 PM, Rodrigo Campos wrote:
> Hi,
>
> Please keep me in Cc: since I'm not subscribed.
>
> I find out that the exit code when a command times out is 128+9 (when run
> instede timeout :-D) rather than 124 when is run with "-s KILL". I found this by
> looking at the code (well, comments :)) where is pretty clear.
>
> This patch just adds this to the man page, so no one else checks for 124 and
> finds out it doesn't exit with that code :)
>
> I tried to copy the first line from other commits, but I might misunderstood the
> style. Also, I didn't compile test it, but it seems simple enough. Sorry in
> advance if the style is wrong or introduces a build issue. Please let me know
> and I'll fix it :S
Slightly adjusted and pushed.
thanks a lot,
Pádraig.
Message #11 received at 10912-done <at> debbugs.gnu.org (full text, mbox):
On Wed, Feb 29, 2012 at 03:45:06PM +0000, Pádraig Brady wrote:
> On 02/29/2012 02:49 PM, Rodrigo Campos wrote:
> > Hi,
> >
> > Please keep me in Cc: since I'm not subscribed.
> >
> > I find out that the exit code when a command times out is 128+9 (when run
> > instede timeout :-D) rather than 124 when is run with "-s KILL". I found this by
> > looking at the code (well, comments :)) where is pretty clear.
> >
> > This patch just adds this to the man page, so no one else checks for 124 and
> > finds out it doesn't exit with that code :)
> >
> > I tried to copy the first line from other commits, but I might misunderstood the
> > style. Also, I didn't compile test it, but it seems simple enough. Sorry in
> > advance if the style is wrong or introduces a build issue. Please let me know
> > and I'll fix it :S
>
> Slightly adjusted and pushed.
Great, thanks again! :-)
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 29 Mar 2012 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 13 years and 80 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.