From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9432 invoked by alias); 1 Aug 2014 15:20:21 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 32936 Received: (qmail 26116 invoked from network); 1 Aug 2014 15:20:09 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 From: Bart Schaefer Message-id: <140801082012.ZM32144@torch.brasslantern.com> Date: Fri, 01 Aug 2014 08:20:12 -0700 In-reply-to: <20140801160247.7e071644@pwslap01u.europe.root.pri> Comments: In reply to Peter Stephenson "Re: PATCH: Add :^ syntax for zipping two arrays" (Aug 1, 4:02pm) References: <1406828739-14841-1-git-send-email-mikachu@gmail.com> <20140801094632.6ea87550@pwslap01u.europe.root.pri> <20140801160247.7e071644@pwslap01u.europe.root.pri> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh workers Subject: Re: PATCH: Add :^ syntax for zipping two arrays MIME-version: 1.0 Content-type: text/plain; charset=us-ascii 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 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.