Fix two more POSIX conformance bugs and minor documentation/comment issues

This commit is contained in:
tg
2010-04-08 13:21:08 +00:00
parent 2557cfbbe5
commit ff9f89f22f
6 changed files with 70 additions and 16 deletions

4
eval.c
View File

@ -22,7 +22,7 @@
#include "sh.h"
__RCSID("$MirOS: src/bin/mksh/eval.c,v 1.83 2010/02/25 20:18:15 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/eval.c,v 1.84 2010/04/08 13:21:04 tg Exp $");
/*
* string expansion
@ -517,7 +517,7 @@ expand(const char *cp, /* input word */
/* ! DOBLANK,DOBRACE_,DOTILDE */
f = DOPAT | (f&DONTRUNCOMMAND) |
DOTEMP_;
quote = 0;
st->quote = quote = 0;
/* Prepend open pattern (so |
* in a trim will work as
* expected)