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

Allan McRae allan at archlinux.org
Sat Jun 25 08:24:52 EDT 2011


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,
Allan


More information about the arch-dev-public mailing list