diff options
author | Peter Stephenson <pws@zsh.org> | 2016-09-30 11:35:50 +0100 |
---|---|---|
committer | Peter Stephenson <pws@zsh.org> | 2016-09-30 11:35:50 +0100 |
commit | c942c7e8b6b217d6dcfeb9bf7ff544449e01f89e (patch) | |
tree | 9379df0f329df767e2d10935e2427adabf009231 /Src | |
parent | bb2bbcc944e5b2a089f27e9b988e1740a517cedd (diff) | |
download | zsh-c942c7e8b6b217d6dcfeb9bf7ff544449e01f89e.tar.gz zsh-c942c7e8b6b217d6dcfeb9bf7ff544449e01f89e.tar.xz zsh-c942c7e8b6b217d6dcfeb9bf7ff544449e01f89e.zip |
39519: restore missing PM_EXPORT flags.
This was missing when exporting using USE_SET_UNSET_ENV coce variant.
Diffstat (limited to 'Src')
-rw-r--r-- | Src/params.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/params.c b/Src/params.c index 8271a8b53..e11510246 100644 --- a/Src/params.c +++ b/Src/params.c @@ -4727,6 +4727,7 @@ addenv(Param pm, char *value) if (pm->env) zsfree(pm->env); pm->env = newenv; + pm->node.flags |= PM_EXPORTED; #else /* * Under Cygwin we must use putenv() to maintain consistency. |