fix the "char subscripts" issue, bump version
This commit is contained in:
5
funcs.c
5
funcs.c
@@ -5,7 +5,7 @@
|
||||
|
||||
#include "sh.h"
|
||||
|
||||
__RCSID("$MirOS: src/bin/mksh/funcs.c,v 1.27 2006/05/10 18:54:10 tg Exp $");
|
||||
__RCSID("$MirOS: src/bin/mksh/funcs.c,v 1.28 2006/07/03 12:16:30 tg Exp $");
|
||||
|
||||
int
|
||||
c_cd(char **wp)
|
||||
@@ -1107,7 +1107,8 @@ c_kill(char **wp)
|
||||
int i, n, rv, sig;
|
||||
|
||||
/* assume old style options if -digits or -UPPERCASE */
|
||||
if ((p = wp[1]) && *p == '-' && (digit(p[1]) || isupper(p[1]))) {
|
||||
if ((p = wp[1]) && *p == '-' && (digit(p[1]) ||
|
||||
isupper((unsigned char)p[1]))) {
|
||||
if (!(t = gettrap(p + 1, true))) {
|
||||
bi_errorf("bad signal '%s'", p + 1);
|
||||
return 1;
|
||||
|
Reference in New Issue
Block a user