grep-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grep ./ChangeLog src/grep.c


From: Charles Levert
Subject: grep ./ChangeLog src/grep.c
Date: Tue, 21 Jun 2005 12:15:48 -0400

CVSROOT:        /cvsroot/grep
Module name:    grep
Branch:         
Changes by:     Charles Levert <address@hidden> 05/06/21 16:15:47

Modified files:
        .              : ChangeLog 
        src            : grep.c 

Log message:
        * src/grep.c (prline): Simplifying rewrite using
        print_line_middle() and print_line_tail().  No longer attempts
        to find matches to colorize in context lines, thus avoiding
        costly calls to (*execute)(), since we know by then that they
        can't contain any by definition.  There are no longer four
        different code paths whether -o and -i are each specified
        or not; they have been unified into one, which should help
        avoid bugs similar to previous ones due to not updating all
        code paths in a synchronized fashion.  The -i code has been
        explicitly marked since it doesn't belong there and should
        be removed as soon as other -i code elsewhere is fixed.
        The remaining GREP_COLORS functionality is implemented.
        Savannah patch #3771 and patch #3644, heavily reworked.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/grep/grep/ChangeLog.diff?tr1=1.258&tr2=1.259&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/grep/grep/src/grep.c.diff?tr1=1.109&tr2=1.110&r1=text&r2=text





reply via email to

[Prev in Thread] Current Thread [Next in Thread]