[arch-dev-public] [signoff] grep-2.9-1

Gaetan Bisson bisson at archlinux.org
Sat Jun 25 13:44:15 EDT 2011


[2011-06-25 22:24:52 +1000] Allan McRae:
> Upstream bugfix release:
> 
>   grep no longer clobbers heap for an ERE like '(^| )*( |$)'
>   [bug introduced in grep-2.6]
> 
>   grep is faster on regular expressions that match multibyte characters
>   in brackets (such as '[áéíóú]').
> 
>   echo c|grep '[c]' would fail for any c in 0x80..0xff, with a uni-byte
>   encoding for which the byte-to-wide-char mapping is nontrivial.  For
>   example, the ISO-88591 locales are not affected, but ru_RU.KOI8-R is.
>   [bug introduced in grep-2.6]
> 
>   grep -P no longer aborts when PCRE's backtracking limit is exceeded
>   Before, echo aaaaaaaaaaaaaab |grep -P '((a+)*)+$' would abort.  Now,
>   it diagnoses the problem and exits with status 2.

Signoff both.

-- 
Gaetan


More information about the arch-dev-public mailing list