mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 04:19:21 +08:00
* kill.cc (listsig): Display numeric id when given symbolic input.
This commit is contained in:
parent
3ff9fd2b9b
commit
6eabab557a
@ -1,3 +1,7 @@
|
||||
2002-05-13 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* kill.cc (listsig): Display numeric id when given symbolic input.
|
||||
|
||||
2002-05-13 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* kill.cc (usage): Show new options. Allow specification of output
|
||||
|
@ -82,7 +82,10 @@ listsig (const char *in_sig)
|
||||
{
|
||||
sig = getsig (in_sig);
|
||||
test_for_unknown_sig (sig, in_sig);
|
||||
puts (strsigno (sig) + 3);
|
||||
if (atoi (in_sig) == sig)
|
||||
puts (strsigno (sig) + 3);
|
||||
else
|
||||
printf ("%d\n", sig);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user