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

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



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.

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.

pws


This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com



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