[Bug 218811] graphics/libglapi: fails to build with bsdgrep
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat May 20 03:52:34 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218811
--- Comment #11 from commit-hook at freebsd.org ---
A commit references this bug:
Author: emaste
Date: Sat May 20 03:51:32 UTC 2017
New revision: 318571
URL: https://svnweb.freebsd.org/changeset/base/318571
Log:
bsdgrep: emit more than MAX_LINE_MATCHES per line
We should not set an arbitrary cap on the number of matches on a line,
and in any case MAX_LINE_MATCHES of 32 is much too low. Instead, if we
match more than MAX_LINE_MATCHES, keep processing and matching from the
last match until all are found.
For the regression test, we produce 4096 matches (larger than we expect
we'll ever set MAX_LINE_MATCHES) and make sure we actually get 4096
lines of output with the -o flag.
We'll also make sure that every distinct line is getting its own line
number to detect line metadata not being printed as appropriate along
the way.
PR: 218811
Submitted by: Kyle Evans <kevans91 at ksu.edu>
Reported by: jbeich
Reviewed by: cem
Differential Revision: https://reviews.freebsd.org/D10577
Changes:
head/contrib/netbsd-tests/usr.bin/grep/t_grep.sh
head/usr.bin/grep/util.c
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-x11
mailing list