oops…
This commit is contained in:
6
eval.c
6
eval.c
@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
#include "sh.h"
|
#include "sh.h"
|
||||||
|
|
||||||
__RCSID("$MirOS: src/bin/mksh/eval.c,v 1.195 2017/02/17 20:52:15 tg Exp $");
|
__RCSID("$MirOS: src/bin/mksh/eval.c,v 1.196 2017/02/17 21:15:55 tg Exp $");
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* string expansion
|
* string expansion
|
||||||
@ -1217,10 +1217,6 @@ varsub(Expand *xp, const char *sp, const char *word,
|
|||||||
}
|
}
|
||||||
stype |= 0x100 | c;
|
stype |= 0x100 | c;
|
||||||
slen += 4;
|
slen += 4;
|
||||||
if (word[slen] == CHAR) {
|
|
||||||
stype |= word[slen + 1];
|
|
||||||
slen += 2;
|
|
||||||
}
|
|
||||||
} else if (stype)
|
} else if (stype)
|
||||||
/* : is not ok */
|
/* : is not ok */
|
||||||
return (-1);
|
return (-1);
|
||||||
|
Reference in New Issue
Block a user