DragonFly commits List (threaded) for 2011-10
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: grep: Upgrade to version 2.9
commit e54473e53d7dc1cb1dedfd741a8a437648ae258b
Author: John Marino <draco@marino.st>
Date: Sun Oct 30 00:59:01 2011 +0200
grep: Upgrade to version 2.9
Release 2.9 (2011-06-21) [stable]
Release 2.8 (2011-05-13) [stable]
Bug Fixes
===================
1. echo c|grep '[c]' would fail for any c in 0x80..0xff,
and in many locales.
E.g., printf '\xff\n'|grep "$(printf '[\xff]')" || echo FAIL
would print FAIL rather than the required matching line.
[bug introduced in grep-2.6]
2. grep's interpretation of range expression is now more consistent with
that of other tools. [bug present since multi-byte character set
support was introduced in 2.5.2, though the steps needed to reproduce
it changed in grep-2.6]
3. grep erroneously returned with exit status 1 on some memory allocation
failure. [bug present since "the beginning"]
4. grep no longer clobbers heap for an ERE like '(^| )*( |$)'
[bug introduced in grep-2.6]
5. grep is faster on regular expressions that match multibyte characters
in brackets (such as '[áéÃóú]').
6. 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]
7. 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.
Summary of changes:
contrib/grep/README.DELETED | 9 +
contrib/grep/README.DRAGONFLY | 13 +-
{contrib/grep/doc => gnu/usr.bin/grep/grep}/grep.1 | 7 +-
gnu/usr.bin/grep/libgreputils/Makefile | 11 +-
gnu/usr.bin/grep/libgreputils/alloca.h | 2 +-
gnu/usr.bin/grep/libgreputils/config.h | 346 +++++++++++++-------
gnu/usr.bin/grep/libgreputils/getopt.h | 10 +-
.../libdiffutils => grep/libgreputils}/unistr.h | 0
gnu/usr.bin/grep/libgreputils/unitypes.h | 4 +-
gnu/usr.bin/grep/libgreputils/uniwidth.h | 4 +-
.../libgreputils}/unused-parameter.h | 0
11 files changed, 263 insertions(+), 143 deletions(-)
rename {contrib/grep/doc => gnu/usr.bin/grep/grep}/grep.1 (99%)
copy gnu/usr.bin/{diff/libdiffutils => grep/libgreputils}/unistr.h (100%)
copy gnu/usr.bin/{diff/libdiffutils => grep/libgreputils}/unused-parameter.h (100%)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e54473e53d7dc1cb1dedfd741a8a437648ae258b
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]