(hopefully) fix the substitution thing for good

This commit is contained in:
tg
2010-02-25 20:18:19 +00:00
parent 3ba694a00d
commit e5e6857c43
6 changed files with 68 additions and 60 deletions

4
eval.c
View File

@ -22,7 +22,7 @@
#include "sh.h"
__RCSID("$MirOS: src/bin/mksh/eval.c,v 1.82 2010/01/29 09:34:27 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/eval.c,v 1.83 2010/02/25 20:18:15 tg Exp $");
/*
* string expansion
@ -263,7 +263,7 @@ expand(const char *cp, /* input word */
quote = 1;
continue;
case CQUOTE:
quote = 0;
quote = st->quote; /* XXX correct? */
continue;
case COMSUB:
tilde_ok = 0;