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

Re: rcexpandparam fix



Peter Stephenson wrote:
> This seems to be the minimal fix to the rcexpandparam bug.  I think

Even more minimal than you thought.  It is really a kind of typo bug, so
bad, that such thing always turn out after a new release )-:.  Here is the
fix.

Zoltan


diff -c subst.c.orig subst.c
*** Src/subst.c.orig	Fri Sep 26 03:42:18 1997
--- Src/subst.c	Fri Oct  3 16:00:10 1997
***************
*** 1439,1445 ****
  	    }
  	    if (plan9) {
  		uremnode(l, n);
! 		return NULL;
  	    }
  	} else {
  	    x = aval[0];
--- 1439,1445 ----
  	    }
  	    if (plan9) {
  		uremnode(l, n);
! 		return n;
  	    }
  	} else {
  	    x = aval[0];



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