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

Re: zsh eats 100% CPU with completion in /



Peter Stephenson <pws@xxxxxxx>:
> On Mon, 2 Nov 2009 22:30:08 +0100
> Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
> > > And this seems to fix it. Not sure if checking that inside the loop is the best
> > > place, but there seems to be some freeing of *pp going on that I
> > > didn't feel like
> > > investigating. Maybe checking xbuf before slashsplit would work?
> > 
> > And of course, I have no idea if *xbuf being '\0' is indicative of
> > some other bug.
> 
> Thanks, it looks like that really is the problem and I think the fix is
> fine.
[...]

My colleague just tried this and it seems like it fixes the bug for
him, too. Thanks for wading through the code and coming up with a fix,
Mikael! :-)

Regards, Frank



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