Subject: bug#18806: grep -rP getline crashes prematurely (without displaying all results) on invalid UTF-8 input with LC_ALL=en_US.UTF-8

From: Shlomi Fish <[email-masked]>
Date: Sat, 25 Oct 2014 10:22:07 +0300

Hi all,

On Sat, 25 Oct 2014 08:58:02 +0900
Norihiro Tanaka <[email-masked]> wrote:

> Paul Eggert <[email-masked]> wrote:
> > The optimization was a hack anyway, and these bugs suggest that it's>
> > not a hack worth keeping.
> 
> Thanks.  I improved this hack instead of removal, but it had little
> effect in comparison with your patch, even if `execute' ran for each
> character.
> 

Thank you both for the fix. ♥!

Regards,

	Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
Optimising Code for Speed - http://shlom.in/optimise

Chuck Norris has 99 problems including a bitch.
    — http://www.shlomifish.org/humour/bits/facts/Chuck-Norris/

Please reply to list if it's a mailing list post - http://shlom.in/reply .