On Tuesday 21 June 2011, Jim Meyering wrote: > Jim Meyering wrote: > > I'm prepared to release grep-2.9. > > There have been more than enough fixes since 2.8: > > (from NEWS): > > > > 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 '[<C3><A1><C3><A9><C3><AD><C3><B3><C3><BA>]'). > > > > 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. > > > > If anyone has something that they'd like to see in 2.9, > > please let us know. > > > > Also, I want to make this bug-fix release before we perform > > any regex-rationalization surgery. > > FYI, I've just pushed the following. > Now, I expect to tag grep-2.9 and release later today. > Last chance... > On NetBSD 5.1, I'm seeing this failure by running `make -j2' in the gnulib-tests subdirectory:
======================================================================= --- check --- make check-recursive --- check-recursive --- Making check in . --- check-am --- make libtests.a test-alloca-opt test-argmatch test-binary-io test-bitrotate test-btowc test-c-ctype test-c-strcasecmp test-c-strncasecmp test-ctype test-dirent test-dirname test-dup2 test-environ test-errno test-exclude test-fcntl-h test-float test-fnmatch test-fpending test-getcwd-lgpl test-getopt test-hash test-iconv-h test-iconv test-ignore-value test-intprops test-inttostr test-inttypes test-isblank test-iswblank test-langinfo test-locale test-localename test-lock test-lseek test-lstat test-malloc-gnu test-malloca test-mbrtowc test-mbrtowc-w32 test-mbscasecmp test-mbsinit test-mbsrtowcs test-mbsstr1 test-mbsstr2 test-mbsstr3 test-memchr test-nl_langinfo test-open test-quotearg-simple test-realloc-gnu test-setenv test-setlocale1 test-setlocale2 test-snprintf test-stat test-stdbool test-stddef test-stdint test-stdio test-stdlib test-strerror test-striconv test-string test-strnlen test-symlink test-sys_stat test-time test-unistd test-u8-mbtoucr test-u8-uctomb test-uc_width test-uc_width2 test-unsetenv test-vasnprintf test-verify test-version-etc test-wchar test-wcrtomb test-wcrtomb-w32 test-wctype-h test-wcwidth test-xalloc-die test-xstrtol test-xstrtoul test-xstrtoumax --- test-verify.o --- CC test-verify.o --- test-verify --- CCLD test-verify `libtests.a' is up to date. `test-alloca-opt' is up to date. `test-argmatch' is up to date. `test-binary-io' is up to date. `test-bitrotate' is up to date. `test-btowc' is up to date. `test-c-ctype' is up to date. `test-c-strcasecmp' is up to date. `test-c-strncasecmp' is up to date. `test-ctype' is up to date. `test-dirent' is up to date. `test-dirname' is up to date. `test-dup2' is up to date. `test-environ' is up to date. `test-errno' is up to date. `test-exclude' is up to date. `test-fcntl-h' is up to date. `test-float' is up to date. `test-fnmatch' is up to date. `test-fpending' is up to date. `test-getcwd-lgpl' is up to date. `test-getopt' is up to date. `test-hash' is up to date. `test-iconv-h' is up to date. `test-iconv' is up to date. `test-ignore-value' is up to date. `test-intprops' is up to date. `test-inttostr' is up to date. `test-inttypes' is up to date. `test-isblank' is up to date. `test-iswblank' is up to date. `test-langinfo' is up to date. `test-locale' is up to date. `test-localename' is up to date. `test-lock' is up to date. `test-lseek' is up to date. `test-lstat' is up to date. `test-malloc-gnu' is up to date. `test-malloca' is up to date. `test-mbrtowc' is up to date. `test-mbrtowc-w32' is up to date. `test-mbscasecmp' is up to date. `test-mbsinit' is up to date. `test-mbsrtowcs' is up to date. `test-mbsstr1' is up to date. `test-mbsstr2' is up to date. `test-mbsstr3' is up to date. `test-memchr' is up to date. `test-nl_langinfo' is up to date. `test-open' is up to date. `test-quotearg-simple' is up to date. `test-realloc-gnu' is up to date. `test-setenv' is up to date. `test-setlocale1' is up to date. `test-setlocale2' is up to date. `test-snprintf' is up to date. `test-stat' is up to date. `test-stdbool' is up to date. `test-stddef' is up to date. `test-stdint' is up to date. `test-stdio' is up to date. `test-stdlib' is up to date. `test-strerror' is up to date. `test-striconv' is up to date. `test-string' is up to date. `test-strnlen' is up to date. `test-symlink' is up to date. `test-sys_stat' is up to date. `test-time' is up to date. `test-unistd' is up to date. `test-u8-mbtoucr' is up to date. `test-u8-uctomb' is up to date. `test-uc_width' is up to date. `test-uc_width2' is up to date. `test-unsetenv' is up to date. `test-vasnprintf' is up to date. `test-version-etc' is up to date. `test-wchar' is up to date. `test-wcrtomb' is up to date. `test-wcrtomb-w32' is up to date. `test-wctype-h' is up to date. `test-wcwidth' is up to date. `test-xalloc-die' is up to date. `test-xstrtol' is up to date. `test-xstrtoul' is up to date. `test-xstrtoumax' is up to date. make check-TESTS --- check-TESTS --- --- test-binary-io.sh.log --- --- test-btowc1.sh.log --- PASS: test-btowc1.sh --- test-binary-io.sh.log --- PASS: test-binary-io.sh --- test-btowc2.sh.log --- --- test-c-strcase.sh.log --- --- test-btowc2.sh.log --- PASS: test-btowc2.sh --- test-c-strcase.sh.log --- PASS: test-c-strcase.sh --- test-exclude1.sh.log --- --- test-exclude2.sh.log --- --- test-exclude1.sh.log --- PASS: test-exclude1.sh --- test-exclude2.sh.log --- PASS: test-exclude2.sh --- test-exclude3.sh.log --- --- test-exclude4.sh.log --- --- test-exclude3.sh.log --- PASS: test-exclude3.sh --- test-exclude4.sh.log --- PASS: test-exclude4.sh --- test-exclude5.sh.log --- --- test-exclude6.sh.log --- --- test-exclude5.sh.log --- PASS: test-exclude5.sh --- test-exclude6.sh.log --- PASS: test-exclude6.sh --- test-exclude7.sh.log --- --- test-exclude8.sh.log --- PASS: test-exclude8.sh --- test-exclude7.sh.log --- PASS: test-exclude7.sh --- test-fpending.sh.log --- --- test-lseek.sh.log --- --- test-fpending.sh.log --- PASS: test-fpending.sh --- test-mbrtowc1.sh.log --- PASS: test-mbrtowc1.sh --- test-lseek.sh.log --- PASS: test-lseek.sh --- test-mbrtowc2.sh.log --- --- test-mbrtowc3.sh.log --- PASS: test-mbrtowc3.sh --- test-mbrtowc2.sh.log --- PASS: test-mbrtowc2.sh --- test-mbrtowc4.sh.log --- --- test-mbrtowc-w32-1.sh.log --- --- test-mbrtowc4.sh.log --- PASS: test-mbrtowc4.sh --- test-mbrtowc-w32-1.sh.log --- SKIP: test-mbrtowc-w32-1.sh --- test-mbrtowc-w32-2.sh.log --- --- test-mbrtowc-w32-3.sh.log --- --- test-mbrtowc-w32-2.sh.log --- SKIP: test-mbrtowc-w32-2.sh --- test-mbrtowc-w32-3.sh.log --- SKIP: test-mbrtowc-w32-3.sh --- test-mbrtowc-w32-4.sh.log --- --- test-mbrtowc-w32-5.sh.log --- SKIP: test-mbrtowc-w32-5.sh --- test-mbrtowc-w32-4.sh.log --- SKIP: test-mbrtowc-w32-4.sh --- test-mbscasecmp.sh.log --- --- test-mbsinit.sh.log --- --- test-mbscasecmp.sh.log --- SKIP: test-mbscasecmp.sh --- test-mbsrtowcs1.sh.log --- --- test-mbsinit.sh.log --- PASS: test-mbsinit.sh --- test-mbsrtowcs2.sh.log --- --- test-mbsrtowcs1.sh.log --- PASS: test-mbsrtowcs1.sh --- test-mbsrtowcs3.sh.log --- --- test-mbsrtowcs2.sh.log --- PASS: test-mbsrtowcs2.sh --- test-mbsrtowcs4.sh.log --- --- test-mbsrtowcs3.sh.log --- PASS: test-mbsrtowcs3.sh --- test-mbsstr2.sh.log --- --- test-mbsrtowcs4.sh.log --- PASS: test-mbsrtowcs4.sh --- test-mbsstr3.sh.log --- PASS: test-mbsstr3.sh --- test-nl_langinfo.sh.log --- PASS: test-nl_langinfo.sh --- test-setlocale1.sh.log --- PASS: test-setlocale1.sh --- test-setlocale2.sh.log --- PASS: test-setlocale2.sh --- uniwidth/test-uc_width2.sh.log --- PASS: uniwidth/test-uc_width2.sh --- test-update-copyright.sh.log --- PASS: test-update-copyright.sh --- test-vc-list-files-git.sh.log --- PASS: test-vc-list-files-git.sh --- test-vc-list-files-cvs.sh.log --- --- test-mbsstr2.sh.log --- PASS: test-mbsstr2.sh --- test-verify.sh.log --- --- test-vc-list-files-cvs.sh.log --- PASS: test-vc-list-files-cvs.sh --- test-verify.sh.log --- PASS: test-verify.sh A failure has been detected in another branch of the parallel make make: stopped in /tmp/grep-2.8.30-5f78-dirty/gnulib-tests *** [check-TESTS] Error code 2 1 error make: stopped in /tmp/grep-2.8.30-5f78-dirty/gnulib-tests *** [check-am] Error code 2 1 error make: stopped in /tmp/grep-2.8.30-5f78-dirty/gnulib-tests *** [check-recursive] Error code 1 1 error make: stopped in /tmp/grep-2.8.30-5f78-dirty/gnulib-tests *** [check] Error code 2 1 error ======================================================================= A simple "make check" succeeds. This is a very minor nit, agreed, but I think that pointing it out won't hurt. Regards, Stefano
