svn commit: r204701 - stable/7/bin/kill
Konstantin Belousov
kib at FreeBSD.org
Thu Mar 4 07:24:10 UTC 2010
Author: kib
Date: Thu Mar 4 07:24:09 2010
New Revision: 204701
URL: http://svn.freebsd.org/changeset/base/204701
Log:
MFC r204308:
Do not restrict the allowed signals that can be specified by number
to the list of signals that has symbolic name. It was impossible to
send rt signals with kill(1) due to the check.
Modified:
stable/7/bin/kill/kill.c
Directory Properties:
stable/7/bin/kill/ (props changed)
Modified: stable/7/bin/kill/kill.c
==============================================================================
--- stable/7/bin/kill/kill.c Thu Mar 4 07:12:44 2010 (r204700)
+++ stable/7/bin/kill/kill.c Thu Mar 4 07:24:09 2010 (r204701)
@@ -108,7 +108,7 @@ main(int argc, char *argv[])
numsig = strtol(*argv, &ep, 10);
if (!**argv || *ep)
errx(1, "illegal signal number: %s", *argv);
- if (numsig < 0 || numsig >= sys_nsig)
+ if (numsig < 0)
nosig(*argv);
} else
nosig(*argv);
More information about the svn-src-all
mailing list