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

Re: PATCH: fix for $var[1,0] expansion



One other thing.  I accidentally left in a comment to myself in
params.c.  Since it used "//" in a .c file (which only gcc seems to
permit), you'll probably want to remove this before committing the
changes:

Index: Src/params.c
@@ -1643,7 +1643,7 @@
 	    return;
 	}
 	if (v->inv && unset(KSHARRAYS))
-	    v->start--; // v->len--;??
+	    v->start--;
 	q = old = v->pm->gets.afn(v->pm);
 	n = arrlen(old);
 	if (v->start < 0)

..wayne..



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