| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
| |
Run "make update-copyright" and then...
* gnulib: Update to latest with copyright year adjusted.
* tests/init.sh: Sync with gnulib to pick up copyright year.
* bootstrap: Likewise.
* doc/grep.in.1: Use "-" in copyright year ranges, not \en.
|
|
|
|
| |
* gnulib: Also update submodule for its copyright updates.
|
|
|
|
|
|
| |
* gnulib: Update to latest.
* all files: Run "make update-copyright".
* bootstrap: Update from gnulib.
|
|
|
|
|
| |
* gnulib: Update to latest.
* all files: Run "make update-copyright".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In a parallel test run, it is not unusual to exceed a timeout of
1-3 seconds. Increase several from 3 or fewer to 10 seconds.
* tests/skip-device: Increase timeout from 2 to 10 seconds.
* tests/grep-dev-null-out: Likewise, but s/1/10/.
* tests/pcre-invalid-utf8-input: Likewise, but s/3/10/.
* tests/dfa-match: Likewise.
* tests/pcre-invalid-utf8-infloop: Likewise.
* tests/pcre-infloop: Likewise.
* tests/max-count-overread: Likewise.
* tests/invalid-multibyte-infloop: Likewise.
Prompted by http://bugs.gnu.org/24159.
|
|
|
|
|
|
|
|
| |
Run "make update-copyright" and then...
* gnulib: Update to latest.
* tests/init.sh: Update from gnulib.
* bootstrap: Likewise.
|
|
|
|
|
| |
Run "make update-copyright". Also, ...
* grep.texi: Update manually, converting each "--" to "-".
|
|
|
|
|
|
| |
Problem reported by Nelson H. F. Beebe.
* tests/pcre-infloop, tests/pcre-invalid-utf8-input, tests/pcre-utf8:
Skip the test unless PCRE works in an en_US.UTF-8 locale.
|
|
|
|
|
|
|
|
| |
* tests/pcre-invalid-utf8-input: Add require_timeout_ and
require_compiled_in_MB_support. Put a timeout of 3 seconds on
grep, to avoid having this test case loop forever with older
versions of libpcre, such as those found on RHEL 6.5.
Reported by Jim Meyering in: http://bugs.gnu.org/18806#34
|
|
|
|
|
|
|
|
|
| |
* src/pcresearch.c (NSUB): New top-level constant, replacing
'nsub' within Pexecute.
(Pcompile, Pexecute): Use it.
(Pexecute): Don't assume sub[1] is zero after a PCRE_ERROR_BADUTF8
match failure.
* tests/pcre-invalid-utf8-input: Test for this bug.
|
|
|
|
| |
* tests/pcre-invalid-utf8-input: Add a test for that.
|
|
|
|
|
|
|
|
|
| |
Problem reported by Santiago Vila in: http://bugs.gnu.org/18266
* NEWS: Mention this.
* src/pcresearch.c (Pexecute): Treat UTF-8 encoding errors
as non-matching data, instead of exiting 'grep'.
* tests/pcre-infloop: grep now exits with status 1, not 2.
* tests/pcre-invalid-utf8-input: grep now exits with status 0, not 2.
|
|
|
|
|
|
|
|
|
|
| |
See <http://bugs.gnu.org/17245> and <http://bugs.exim.org/1468>.
* NEWS: Document this.
* src/pcresearch.c (Pexecute): Do not use PCRE_NO_UTF8_CHECK,
as this leads to undefined behavior when the input is not UTF-8.
* tests/pcre-infloop, tests/pcre-invalid-utf8-input:
Exit status is now 2, not 1, when grep -P is given invalid UTF-8
data in a UTF-8 locale.
|
|
|
|
| |
Do that by running "make update-copyright".
|
|
|
|
|
|
|
|
|
| |
In order to obtain the behavior we want, i.e., to disable
error-on-invalid-UTF-in-input, apply this PCRE option in
pcre_exec, not when compiling.
* src/pcresearch.c (Pexecute): Use PCRE_NO_UTF8_CHECK here, ...
(Pcompile): ...rather than here.
* tests/pcre-invalid-utf8-input: Adjust test case to test for this.
|
|
* src/pcresearch.c (Pexecute): Don't abort upon unexpected
PCRE-specific error code. Explicitly handle PCRE_ERROR_BADUTF8,
and change the default to print a diagnostic including the unhandled
integer PCRE error code and exit with status 2.
* tests/pcre-invalid-utf8-input: New file.
* tests/Makefile.am (TESTS): Add it.
* NEWS (Bug fixes): Mention it.
* THANKS: Update.
Reported by Dave Reisner in http://bugs.gnu.org/15758.
|