Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: pattern incremental search
- X-seq: zsh-workers 49948
- From: Lawrence Velázquez <larryv@xxxxxxx>
- To: zsh-workers@xxxxxxx
- Cc: Madhu <enometh@xxxxxxxx>
- Subject: Re: PATCH: pattern incremental search
- Date: Thu, 31 Mar 2022 18:44:46 -0400
- Archived-at: <https://zsh.org/workers/49948>
- In-reply-to: <20220228.222457.2128269761925169168.enometh@meer.net>
- List-id: <zsh-workers.zsh.org>
- References: <26439.1209238907@pws-pc> <CAHYJk3Q5x=5Zn5kURXDDgLLoSEsro45_G=SZB-P+qX_qk7dn-Q@mail.gmail.com> <CAHYJk3TkPP3=Gmc7Tv5ted3ey7KY37yu0DSaCL4=1qqOgr0TpA@mail.gmail.com> <1514882387.357077.1640002234148@mail2.virginmedia.com> <20220228.222457.2128269761925169168.enometh@meer.net>
On Mon, Feb 28, 2022, at 11:54 AM, Madhu wrote:
> This doesn't fix the segfault: which just gets postponed. Besides
> this breaks incremental-pattern-search, which just stops working and
> doesn't match anything in the history. Also, the segfault only occurs
> when zsh is built without multibyte.
>
> To hit the segfault, in a --disable-multibyte build
> $ zsh -f
> $ bindkey ^R history-incremental-pattern-search-backward
> C-r .
>
> Please consider the attached patch which 1) reverts the above fix, and
> 2) modifies the non-multibyte version of igetmatch to match the
> multibyte version at some points. (Disclaimer. this is submitted with
> no understanding of what the code does :)
>
>
> Attachments:
> * glob.c-fix-segfault-on-non-multibyte-history-inc.patch
Was this fully obviated by workers/49870 (git 3bf95b9)?
--
vq
Messages sorted by:
Reverse Date,
Date,
Thread,
Author