Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] repair conds where - within cond name
- X-seq: zsh-workers 41531
- From: Phil Pennock <zsh-workers+phil.pennock@xxxxxxxxxxxx>
- To: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- Subject: Re: [PATCH] repair conds where - within cond name
- Date: Fri, 11 Aug 2017 13:18:27 -0400
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=spodhuis.org; s=d201708; h=In-Reply-To:Content-Type:MIME-Version:References :Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding :Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=nrAmF8gkKp5eOX9GEOaNAfHHMW32Yj3JssGqG0iAgog=; b=NrIsYlAiBjvr1yyefRPxVesicz aQ60nhwcBN4rU9j/4/o7Sv8nmeLdG4a5KpyRjVoaSoVqiveUTyoYRKN9qxBBfHHdbNDSEotMWSAXA Y34EHMZeEX6AAYt20Aqm44ckjbDNsch5BMW4eIcrXFVpzJqx8gLU+3ItZC7/W++IVTcIbdoRzl0st BtakljBN9z+fiG5+7rkefcYgBAM9;
- In-reply-to: <20170811093133.2ff7c1b0@pwslap01u.europe.root.pri>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Openpgp: url=https://www.security.spodhuis.org/PGP/keys/0x4D1E900E14C1CC04.asc
- References: <86221c7e-aa71-28a7-21c2-8ed800090edd@bureaucracy.de> <20170811010701.GA94571@tower.spodhuis.org> <20170811013649.GA95238@tower.spodhuis.org> <CAH+w=7bQYtBo1PbNYpyU9ToWndB7BvMkSoGd2M=XrmqQ1toWiA@mail.gmail.com> <CGME20170811020423epcas5p3947a6b85ef200acae8401a830a4b92e0@epcas5p3.samsung.com> <20170811020246.GA718@breadbox.private.spodhuis.org> <20170811093133.2ff7c1b0@pwslap01u.europe.root.pri>
On 2017-08-11 at 09:31 +0100, Peter Stephenson wrote:
> On Thu, 10 Aug 2017 22:02:46 -0400
> Phil Pennock <zsh-workers+phil.pennock@xxxxxxxxxxxx> wrote:
> > + lookup = ztrdup(name);
>
> I'd be inclined just to put this on the heap. I can do that myself if
> that's OK.
I'm guessing you meant stack, or some short-lived pool. I couldn't
remember the means to do that in zsh and brief looking didn't help, so I
went with what worked.
"Yes" is the answer. Go ahead.
I could switch a bunch of memory stuff in the PCRE/regex libs over to
the same too, at the same time as adding tests, if I manage to get some
spare time. This one is nagging at me right now, so it might happen.
-Phil
Messages sorted by:
Reverse Date,
Date,
Thread,
Author