patchgrep - Patches: patch #3770, Isolate new print_linehead()...


You are not allowed to post comments on this tracker with your current authentication level.

patch #3770: Isolate new print_linehead() function from prline() in src/grep.c

Submitted by:  Charles Levert <charles_levert>
Submitted on:  Thu 24 Feb 2005 08:41:01 AM UTC  
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed

Tue 21 Jun 2005 06:22:29 AM UTC, comment #1: 

Applied (committed) with minor modification (because patch #3767 has no been applied yet) as CVS revision 1.104 of "src/grep.c".

Charles Levert <charles_levert>
Thu 24 Feb 2005 08:41:01 AM UTC, original submission:  

In an effort to split patch #3644 in several smaller patches, this patch only performs the following in src/grep.c (cvs version 1.93):

1)  It adds a new print_linehead() from the initial code in prline().

2)  It reuses that new function in prline() in two places:  the original one when !only_matching and before every printed match when only_matching.

This patch relies on the following patches having been already applied:  patch #3767, patch #3769, and ideally also patch #3768.

I will itself be used by upcoming patches.

Charles Levert <charles_levert>


Attached Files
file #8454:  grep.c.diff.cvs-1.93.print_linehead.charles2a0 added by charles_levert (1KiB - application/octet-stream - unidiff patch to isolate new print_linehead() function from prline())


CC list is empty


Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.




Follow 5 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-06-21 charles_levert StatusNone => Done
    Open/ClosedOpen => Closed
2005-04-19 charles_levert Dependencies- => bugs #12727 is dependent
2005-04-12 julianfoad Dependencies- => patch #3644 is dependent
2005-02-24 charles_levert Attached File- => Added grep.c.diff.cvs-1.93.print_linehead.charles2a0, #4226

Back to the top

Powered by Savane 3.7