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

Re: Latest 4.3.0-dev infinite-loops in Y0*.ztst



    Hi Peter :)

 * Peter Stephenson <pws@xxxxxxx> dixit:
> DervishD <zsh@xxxxxxxxxxxx> wrote:
> > > Index: Src/Zle/complist.c
> > > 675c675
> > > <     while ((cc = *s)) {
> > > ---
> > > >     while ((cc = *s++)) {
> > 
> >     When applying this patch to a 4.2.5 source, it looks like already
> > applied, so I applied it with "patch -R" and the crash now happens
> > immediately, as soon as menu completion is started.
> 
> The problem wasn't present in 4.2.5: applying the patch in reverse you are
> creating it.

    That's what I was testing ;)))
 
> It got introduced when I added a separate #ifdef branch for
> multibyte handling and screwed up the existing code.  That's what
> happens when you change your mind in the middle about what you're
> doing.

    Yes, I know what you mean. I've very creative adding bugs,
believe me...

    Raúl Núñez de Arenas Coronado

-- 
Linux Registered User 88736 | http://www.dervishd.net
http://www.pleyades.net & http://www.gotesdelluna.net
It's my PC and I'll cry if I want to...



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