Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Patch for the previous bug
- X-seq: zsh-users 1579
- From: David Hedbor <david@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: Patch for the previous bug
- Date: 05 Jun 1998 17:53:27 -0700
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author