mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-01 05:16:05 +01:00
24113: createparamtable() was still messing with
the internals of the environment even when USE_SET_UNSET_ENV.
This commit is contained in:
parent
a5dd64f024
commit
1b363034ce
2 changed files with 9 additions and 0 deletions
|
@ -14,6 +14,11 @@
|
|||
* 24114: Completion/Unix/Command/_git: make colon suffix removable
|
||||
after the first part of refspecs.
|
||||
|
||||
2007-11-22 Barton E. Schaefer <schaefer@zsh.org>
|
||||
|
||||
* 24113: Src/params.c: createparamtable() was still messing with
|
||||
the internals of the environment even when USE_SET_UNSET_ENV.
|
||||
|
||||
2007-11-21 Clint Adams <clint@zsh.org>
|
||||
|
||||
* arno.: 24111: Completion/Debian/Command/_dlocate: complete -lsbin
|
||||
|
|
|
@ -692,13 +692,17 @@ createparamtable(void)
|
|||
getsparam(pm->node.nam), pm->node.flags);
|
||||
else
|
||||
pm->env = ztrdup(*envp2);
|
||||
#ifndef USE_SET_UNSET_ENV
|
||||
*envp++ = pm->env;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
popheap();
|
||||
#ifndef USE_SET_UNSET_ENV
|
||||
*envp = '\0';
|
||||
#endif
|
||||
opts[ALLEXPORT] = oae;
|
||||
|
||||
if (emulation == EMULATE_ZSH)
|
||||
|
|
Loading…
Reference in a new issue