we have longer fds now, plus add 1 for a space just to be sure

This commit is contained in:
tg 2015-09-05 17:17:47 +00:00
parent 92978953b2
commit 8a11d7a6a2

6
syn.c
View File

@ -23,7 +23,7 @@
#include "sh.h" #include "sh.h"
__RCSID("$MirOS: src/bin/mksh/syn.c,v 1.101 2015/04/29 20:07:35 tg Exp $"); __RCSID("$MirOS: src/bin/mksh/syn.c,v 1.102 2015/09/05 17:17:47 tg Exp $");
struct nesting_state { struct nesting_state {
int start_token; /* token than began nesting (eg, FOR) */ int start_token; /* token than began nesting (eg, FOR) */
@ -822,8 +822,8 @@ initkeywords(void)
static void static void
syntaxerr(const char *what) syntaxerr(const char *what)
{ {
/* 2<<- is the longest redirection, I think */ /* 23<<- is the longest redirection, I think */
char redir[6]; char redir[8];
const char *s; const char *s;
struct tokeninfo const *tt; struct tokeninfo const *tt;
int c; int c;