Package: grep / 2.27-2

Metadata

Package Version Patches format
grep 2.27-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
02 man_rgrep.patch | (download)

doc/grep.in.1 | 12 7 + 5 - 0 !
1 file changed, 7 insertions(+), 5 deletions(-)

---
03 397262 dlopen pcre.patch | (download)

src/pcresearch.c | 68 68 + 0 - 0 !
1 file changed, 68 insertions(+)

---
05 grep wrapper sh.patch | (download)

src/Makefile.am | 8 1 + 7 - 0 !
1 file changed, 1 insertion(+), 7 deletions(-)

---
81 356120 document multiple e.patch | (download)

doc/grep.in.1 | 7 3 + 4 - 0 !
1 file changed, 3 insertions(+), 4 deletions(-)

---
upstream grep simplify finalize_input.patch | (download)

src/grep.c | 31 8 + 23 - 0 !
1 file changed, 8 insertions(+), 23 deletions(-)

 [patch] grep: simplify finalize_input

* src/grep.c (finalize_input): Simplify without changing behavior.
It's still a bit of a rat's-nest, but it's a cozier rat's-nest.

upstream grep work around proc lseek glitch.patch | (download)

src/grep.c | 9 6 + 3 - 0 !
tests/Makefile.am | 1 1 + 0 - 0 !
tests/proc | 18 18 + 0 - 0 !
3 files changed, 25 insertions(+), 3 deletions(-)

 [patch] grep: work around proc lseek glitch

Problem reported by Andreas Schwab (Bug#25180).
* NEWS: Document this.
* src/grep.c (finalize_input): Ignore EINVAL lseek failures.
* tests/Makefile.am (TESTS): Add proc.
* tests/proc: New file.

upstream grep fix bug dev null output.patch | (download)

src/grep.c | 14 9 + 5 - 0 !
tests/grep-dev-null-out | 2 2 + 0 - 0 !
2 files changed, 11 insertions(+), 5 deletions(-)

 [patch] grep: fix bug with '... | grep pat >> /dev/null'
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Problem reported by Benno Fünfstück (Bug#25283).
* NEWS: Document this.
* src/grep.c (drain_input) [SPLICE_F_MOVE]:
Don't assume /dev/null is always acceptable output to splice.
* tests/grep-dev-null-out: Test for the bug.

upstream clarify early exit news for 2.27.patch | (download)

NEWS | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 [patch] maint: clarify early-exit news for 2.27

* NEWS: Mention early-exit options to avoid confusion.  See:
http://lists.gnu.org/archive/html/grep-devel/2016-12/msg00007.html

upstream grep Fo could report a match that is not the longest.patch | (download)

src/kwset.c | 17 14 + 3 - 0 !
tests/fgrep-longest | 23 23 + 0 - 0 !
2 files changed, 37 insertions(+), 3 deletions(-)

 [patch] grep -fo could report a match that is not the longest

* src/kwset.c (acexec): Fix it.
* tests/fgrep-longest: New test.
* tests/Makefile.am: Add the test.
* NEWS: Mention it.