* Patch for the previous bug
@ 1998-06-06 0:53 David Hedbor
0 siblings, 0 replies; only message in thread
From: David Hedbor @ 1998-06-06 0:53 UTC (permalink / raw)
To: zsh-users
This patch fixes the problem I reported earlier. If it's the desired
way to do it or not, I don't know. :-)
*** builtin.c Fri Jun 5 17:48:52 1998
--- builtin.c~ Sun May 31 03:26:12 1998
***************
*** 1587,1592 ****
if (PM_TYPE(pm->flags) != PM_ARRAY) {
if (pm->flags & PM_EXPORTED) {
! if (!pm->env && (asg->value || getsparam(asg->name)))
! pm->env = addenv(asg->name, (asg->value) ? asg->value : getsparam(asg->name));
} else if (pm->env) {
delenv(pm->env);
--- 1587,1592 ----
if (PM_TYPE(pm->flags) != PM_ARRAY) {
if (pm->flags & PM_EXPORTED) {
! if (!pm->env)
! pm->env = addenv(asg->name, (asg->value) ? asg->value : getsparam(asg->name));
} else if (pm->env) {
delenv(pm->env);
--
David Hedbor
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-06-06 0:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-06-06 0:53 Patch for the previous bug David Hedbor
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).