mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-08 12:01:21 +02:00
39519: restore missing PM_EXPORT flags.
This was missing when exporting using USE_SET_UNSET_ENV coce variant.
This commit is contained in:
parent
bb2bbcc944
commit
c942c7e8b6
2 changed files with 4 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
||||||
2016-09-30 Peter Stephenson <p.stephenson@samsung.com>
|
2016-09-30 Peter Stephenson <p.stephenson@samsung.com>
|
||||||
|
|
||||||
|
* 39519: Src/params.c: setting PM_EXPORT was missing in
|
||||||
|
USE_SET_UNSET_ENV case.
|
||||||
|
|
||||||
* 39517: back off 39502, this isn't a robust fix.
|
* 39517: back off 39502, this isn't a robust fix.
|
||||||
|
|
||||||
* 39498: Src/parmas.c,Src/zsh.h: use PRIVILEGED option to
|
* 39498: Src/parmas.c,Src/zsh.h: use PRIVILEGED option to
|
||||||
|
|
|
@ -4727,6 +4727,7 @@ addenv(Param pm, char *value)
|
||||||
if (pm->env)
|
if (pm->env)
|
||||||
zsfree(pm->env);
|
zsfree(pm->env);
|
||||||
pm->env = newenv;
|
pm->env = newenv;
|
||||||
|
pm->node.flags |= PM_EXPORTED;
|
||||||
#else
|
#else
|
||||||
/*
|
/*
|
||||||
* Under Cygwin we must use putenv() to maintain consistency.
|
* Under Cygwin we must use putenv() to maintain consistency.
|
||||||
|
|
Loading…
Reference in a new issue