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

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



Phil Pennock wrote on Fri, 11 Aug 2017 13:18 -0400:
> 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.

The "heap" in this context is pools, yes.  See comment at the top
of Src/mem.c



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