An initial revision of "kill -l [exitstatus]"

Luciano Miguel Ferreira Rocha strange at nsk.no-ip.org
Sat Apr 28 08:35:54 PDT 2007


On Sat, Apr 28, 2007 at 03:42:09PM +0200, Mats Erik Andersson wrote:
> 	} else { /* Present case: -l <exitstatus> */
> 		do {
> 			if (isdigit(*argv[0])) {
> 				name = get_signame(xatoi_u(*argv) & ~0x80);

WTERMSTATUS uses ((status) & 0x7f). I suggest using WTERMSTATUS
directly, as it prevents magic values.


-- 
lfr
0/0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://busybox.net/lists/busybox/attachments/20070428/9aa33576/attachment.pgp 


More information about the busybox mailing list