[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to grep/ChangeLog
From: |
Charles Levert |
Subject: |
Changes to grep/ChangeLog |
Date: |
Tue, 21 Jun 2005 02:19:44 -0400 |
Index: grep/ChangeLog
diff -u grep/ChangeLog:1.252 grep/ChangeLog:1.253
--- grep/ChangeLog:1.252 Tue Jun 21 05:18:44 2005
+++ grep/ChangeLog Tue Jun 21 06:19:44 2005
@@ -13,6 +13,21 @@
Other code needs this zero setting to work correctly without
having to repeatedly test for this conflictual condition.
+ * tests/foad1.sh: Add tests combining -o, -n/-b/-H, and -i,
+ since there are separate code paths for -i. Add tests combining
+ -o, -n/-b/-H, and -3, since any context line specification
+ should be ignored when combined with -o.
+ * src/grep.c (print_line_head): New function, culled off the
+ top content of prline(). Adds a guard against "lastnl" having
+ already reached "lim", which can happen when if the function
+ is called more than once per line.
+ * src/grep.c (prline): Now calls print_line_head(), not only at
+ the beginning to replace the moved code when -o is not
+ specified, but also for each match when -o is specified (two
+ code paths with this). Patch #3770, more or less. This makes
+ all tests combining -o and -n/-b/-H pass, which they didn't
+ before. Fixes bug #12727.
+
2005-06-20 Charles Levert <address@hidden>
* src/grep.c: Extensively document the SGR/EL-to-Right issue.
- Changes to grep/ChangeLog, Charles Levert, 2005/06/14
- Changes to grep/ChangeLog, Charles Levert, 2005/06/15
- Changes to grep/ChangeLog, Charles Levert, 2005/06/20
- Changes to grep/ChangeLog, Charles Levert, 2005/06/20
- Changes to grep/ChangeLog, Charles Levert, 2005/06/21
- Changes to grep/ChangeLog, Charles Levert, 2005/06/21
- Changes to grep/ChangeLog,
Charles Levert <=
- Changes to grep/ChangeLog, Charles Levert, 2005/06/21
- Changes to grep/ChangeLog, Charles Levert, 2005/06/21
- Changes to grep/ChangeLog, Charles Levert, 2005/06/21
- Changes to grep/ChangeLog, Charles Levert, 2005/06/21
- Changes to grep/ChangeLog, Charles Levert, 2005/06/21
- Changes to grep/ChangeLog, Charles Levert, 2005/06/21
- Changes to grep/ChangeLog, Charles Levert, 2005/06/21
- Changes to grep/ChangeLog, Charles Levert, 2005/06/22