[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
About Debain Bug #532541
From: |
Kai YU |
Subject: |
About Debain Bug #532541 |
Date: |
Sat, 23 Oct 2010 15:49:04 +0800 |
Hi, recently I noticed the Debain Bug #532541(
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532541). The problem
reported still exists in grep-2.7. I debugged the program, and found it was
introduce by the change of grep-2.5.3(
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=143f885e02eb98ab88a1f18e0aa8d069781bc813).
The failure-inducing change is:
- if (only_matching)
+}
+
+static void
+prline (char const *beg, char const *lim, int sep)
+{
+ if (!only_matching)
+ print_line_head(beg, lim, sep);
+ else
Notice that the predicate if (only_matching) is changed to if
(!only_matching). Although just withdraw the change may also cause problems,
I wish somebody could pay attention to this problem and solve it.
- About Debain Bug #532541,
Kai YU <=