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

Re: [PATCH] repair conds where - within cond name



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