refactor code to be able to track whether we have a parameter substitution

or a “proper” glob expansion; if there’s a dollar, but not a glob, refrain
from appending a space later (LP: #710539)
This commit is contained in:
tg
2011-02-03 15:57:52 +00:00
parent 1c4aab3a3e
commit d4658a569e
3 changed files with 260 additions and 188 deletions

4
sh.h
View File

@@ -154,9 +154,9 @@
#endif
#ifdef EXTERN
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.426 2011/01/30 01:36:00 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.427 2011/02/03 15:57:52 tg Exp $");
#endif
#define MKSH_VERSION "R39 2011/01/29"
#define MKSH_VERSION "R39 2011/02/03"
#ifndef MKSH_INCLUDES_ONLY