diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1999-01-08 20:25:06 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1999-01-08 20:25:06 +0000 |
commit | 6a5d0cf1c0a39abcf664e579d4844baf976be409 (patch) | |
tree | 62ba360b692423222dd434b61fddf954a08a17bf /bin/ksh/c_ksh.c | |
parent | 289d0caa4f5c6d3215a1ea49d80b71667099fd78 (diff) |
bug fixes from pdksh-unstable-5.2.13.5; some of which we already had.
Diffstat (limited to 'bin/ksh/c_ksh.c')
-rw-r--r-- | bin/ksh/c_ksh.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ksh/c_ksh.c b/bin/ksh/c_ksh.c index b0d10945dbf..36057aed1fd 100644 --- a/bin/ksh/c_ksh.c +++ b/bin/ksh/c_ksh.c @@ -1,4 +1,4 @@ -/* $OpenBSD: c_ksh.c,v 1.9 1998/10/29 04:09:19 millert Exp $ */ +/* $OpenBSD: c_ksh.c,v 1.10 1999/01/08 20:24:57 millert Exp $ */ /* * built-in Korn commands: c_* @@ -1177,7 +1177,7 @@ c_kill(wp) /* assume old style options if -digits or -UPPERCASE */ if ((p = wp[1]) && *p == '-' && (digit(p[1]) || isupper(p[1]))) { - if (!(t = gettrap(p + 1))) { + if (!(t = gettrap(p + 1, TRUE))) { bi_errorf("bad signal `%s'", p + 1); return 1; } @@ -1191,7 +1191,7 @@ c_kill(wp) lflag = 1; break; case 's': - if (!(t = gettrap(builtin_opt.optarg))) { + if (!(t = gettrap(builtin_opt.optarg, TRUE))) { bi_errorf("bad signal `%s'", builtin_opt.optarg); return 1; |