diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2012-02-12 20:27:48 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2012-02-12 20:27:48 +0000 |
commit | 53f893d0626f2d683f6da229301c5dbb75d8dbe8 (patch) | |
tree | 8a0cf05abf9a734bc4d51f97a3082cdbbbdd5ea1 /Src/exec.c | |
parent | cbbed5ed847372b0ba028620138e509a5401a4ff (diff) | |
download | zsh-53f893d0626f2d683f6da229301c5dbb75d8dbe8.tar.gz zsh-53f893d0626f2d683f6da229301c5dbb75d8dbe8.tar.xz zsh-53f893d0626f2d683f6da229301c5dbb75d8dbe8.zip |
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.
Diffstat (limited to 'Src/exec.c')
-rw-r--r-- | Src/exec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Src/exec.c b/Src/exec.c index 44fcbdd9f..503e0843d 100644 --- a/Src/exec.c +++ b/Src/exec.c @@ -2174,8 +2174,8 @@ addvars(Estate state, Wordcode pc, int addflags) vl = ecgetlist(state, WC_ASSIGN_NUM(ac), EC_DUPTOK, &htok); if (vl && htok) { - prefork(vl, (isstr ? (PF_SINGLE|PF_ASSIGN) : - PF_ASSIGN)); + prefork(vl, (isstr ? (PREFORK_SINGLE|PREFORK_ASSIGN) : + PREFORK_ASSIGN)); if (errflag) { state->pc = opc; return; @@ -2552,7 +2552,7 @@ execcmd(Estate state, int input, int output, int how, int last1) } /* Do prefork substitutions */ - esprefork = (assign || isset(MAGICEQUALSUBST)) ? PF_TYPESET : 0; + esprefork = (assign || isset(MAGICEQUALSUBST)) ? PREFORK_TYPESET : 0; if (args && htok) prefork(args, esprefork); |