* kill.cc (listsig): NSIG includes Signal 0, so we need to avoid calling
strtosigno with NSIG - 1.
This commit is contained in:
parent
3f611058b7
commit
0512945eb5
|
@ -1,3 +1,8 @@
|
||||||
|
2004-05-27 Christopher Faylor <cgf@alum.bu.edu>
|
||||||
|
|
||||||
|
* kill.cc (listsig): NSIG includes Signal 0, so we need to avoid
|
||||||
|
calling strtosigno with NSIG - 1.
|
||||||
|
|
||||||
2004-03-21 Christopher Faylor <cgf@redhat.com>
|
2004-03-21 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
* cygcheck.cc (dump_sysinfo): Remove "Win95/NT" from output.
|
* cygcheck.cc (dump_sysinfo): Remove "Win95/NT" from output.
|
||||||
|
|
|
@ -112,7 +112,7 @@ listsig (const char *in_sig)
|
||||||
{
|
{
|
||||||
int sig;
|
int sig;
|
||||||
if (!in_sig)
|
if (!in_sig)
|
||||||
for (sig = 1; sig < NSIG; sig++)
|
for (sig = 1; sig < NSIG - 1; sig++)
|
||||||
printf ("%s%c", strsigno (sig) + 3, (sig < NSIG - 1) ? ' ' : '\n');
|
printf ("%s%c", strsigno (sig) + 3, (sig < NSIG - 1) ? ' ' : '\n');
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue