diff options
author | jilles <jilles@FreeBSD.org> | 2011-02-04 16:40:50 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2011-02-04 16:40:50 +0000 |
commit | dbecc33067971cfd38a340e4435a163832f7601d (patch) | |
tree | 9329b5fbe679fd0331b8e009f284c8f7704ad8e3 /usr.bin/killall | |
parent | 3060e03b875ee43ddb240f06123eabaa98ae70a5 (diff) | |
download | FreeBSD-src-dbecc33067971cfd38a340e4435a163832f7601d.zip FreeBSD-src-dbecc33067971cfd38a340e4435a163832f7601d.tar.gz |
Make sys_signame upper case.
This matches the constants from <signal.h> with 'SIG' removed, which POSIX
requires kill and trap to accept and 'kill -l' to write.
'kill -l', 'trap', 'trap -l' output is now upper case.
In Turkish locales, signal names with an upper case 'I' are now accepted,
while signal names with a lower case 'i' are no longer accepted, and the
output of 'killall -l' now contains proper capital 'I' without dot instead
of a dotted capital 'I'.
Diffstat (limited to 'usr.bin/killall')
-rw-r--r-- | usr.bin/killall/killall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/killall/killall.c b/usr.bin/killall/killall.c index 0a779fd..2342a32 100644 --- a/usr.bin/killall/killall.c +++ b/usr.bin/killall/killall.c @@ -218,7 +218,7 @@ main(int ac, char **av) break; default: if (isalpha((unsigned char)**av)) { - if (strncasecmp(*av, "sig", 3) == 0) + if (strncasecmp(*av, "SIG", 3) == 0) *av += 3; for (sig = NSIG, p = sys_signame + 1; --sig; ++p) |