coreutils
[Top][All Lists]
Advanced

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

[PATCH] kill: fix signal number to name lookup on AIX


From: Pádraig Brady
Subject: [PATCH] kill: fix signal number to name lookup on AIX
Date: Sun, 23 Jul 2017 03:37:18 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

On 29/06/17 05:22, Michael Felt wrote:
> FAIL: tests/misc/kill

> ++ env kill -l HUP TERM
> ++ tail -n1
> + SIGTERM=15
> ++ env kill -l 15
> + test EXIT = TERM
> + fail=1

I think our hack of using the wait() status access macros for
manipulating the exit status from shells is failing for AIX.
The attached avoids the use of WTERMSIG() on AIX.
Perhaps we should do this for all platforms?

cheers,
Pádraig

Attachment: aix-signal-lookup.patch
Description: Text Data


reply via email to

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