changeset: 67:22beb3a9d37e
tag: tip
user: Connor Lane Smith <cls_AT_lubutu.com>
date: Fri Jun 10 03:12:45 2011 +0100
files: kill.c
description:
kill: allow signum
diff -r 66619b23e69c -r 22beb3a9d37e kill.c
--- a/kill.c Fri Jun 10 03:03:53 2011 +0100
+++ b/kill.c Fri Jun 10 03:12:45 2011 +0100
@@ -34,6 +34,9 @@
lflag = true;
break;
case 's':
+ sig = strtol(optarg, &end, 0);
+ if(*end == '\0')
+ break;
for(i = 0; i < LEN(sigs); i++)
if(!strcasecmp(optarg, sigs[i].name)) {
sig = sigs[i].sig;
Received on Fri Jun 10 2011 - 04:13:22 CEST
This archive was generated by hypermail 2.2.0 : Fri Jun 10 2011 - 04:24:06 CEST