From 53f893d0626f2d683f6da229301c5dbb75d8dbe8 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Sun, 12 Feb 2012 20:27:48 +0000 Subject: 30181, plus rename of PF_* flags to PREFORK_*: Pass sh-wordsplitting instructions to paramsubst() using flags, avoiding side effects of explicitly setting and unsetting the SHWORDSPLIT option. --- Src/glob.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src/glob.c') diff --git a/Src/glob.c b/Src/glob.c index 076d0392a..d003d95da 100644 --- a/Src/glob.c +++ b/Src/glob.c @@ -2011,7 +2011,7 @@ xpandredir(struct redir *fn, LinkList redirtab) /* Stick the name in a list... */ init_list1(fake, fn->name); /* ...which undergoes all the usual shell expansions */ - prefork(&fake, isset(MULTIOS) ? 0 : PF_SINGLE); + prefork(&fake, isset(MULTIOS) ? 0 : PREFORK_SINGLE); /* Globbing is only done for multios. */ if (!errflag && isset(MULTIOS)) globlist(&fake, 0); -- cgit 1.4.1