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

Re: PATCH: Add :^ syntax for zipping two arrays



On Aug 1,  4:02pm, Peter Stephenson wrote:
} Subject: Re: PATCH: Add :^ syntax for zipping two arrays
}
} On Fri, 01 Aug 2014 16:46:57 +0200
} Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
} > I modeled it loosely on the :| / :* code which is just below it, which
} > uses mkarray, zhalloc and dupstring, which is... confusing.
} 
} That'll be one of them bug things people sometimes try to interest me
} in.

I can't figure out the circumstances in which that mkarray() code path
is ever taken.  Or ... maybe I did figure it out, but valgrind doesn't
find any leaked memory as a result; I didn't actually try setting a
breakpoint.

Still worth fixing, I suppose.



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