Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: Re: zsh-3.1.5-pws-4.tar.gz available



On Dec 18,  2:23pm, Peter Stephenson wrote:
} Subject: zsh-3.1.5-pws-4.tar.gz available
}
} The following patches have been applied since pws-3, which has
} disappeared.

One fragment of my fix to sethparam() got missed somehow.

WARNING, THIS DIFF IS REVERSED!  The top part is the correct code.
Index: Src/params.c
===================================================================
*** params.c	1998/12/18 16:09:26	1.19
--- params.c	1998/12/18 16:56:33
***************
*** 1577,1583 ****
      } else {
  	if (!(v = getvalue(&s, 1)))
  	    createparam(t, PM_HASHED);
! 	else if (!(PM_TYPE(v->pm->flags) & PM_HASHED) &&
  		 !(v->pm->flags & PM_SPECIAL)) {
  	    unsetparam(t);
  	    createparam(t, PM_HASHED);
--- 1577,1583 ----
      } else {
  	if (!(v = getvalue(&s, 1)))
  	    createparam(t, PM_HASHED);
! 	else if (!(PM_TYPE(v->pm->flags) & (PM_ARRAY|PM_HASHED)) &&
  		 !(v->pm->flags & PM_SPECIAL)) {
  	    unsetparam(t);
  	    createparam(t, PM_HASHED);

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com



Messages sorted by: Reverse Date, Date, Thread, Author