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: NonePriority: 5 - Normal
Status: DonePrivacy: Public
Assigned to: NoneOpen/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())


Depends on the following items: None found

   bug dependencies, patch dependencies.


CC list is empty


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

Only logged-in users can vote.


Please enter the title of George Orwell's famous dystopian book (it's a date):



Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 21 Jun 2005 06:22:29 AM UTCcharles_levertStatusNone=>Done
Tue 12 Apr 2005 03:09:31 PM UTCjulianfoadDependencies-=>patch #3644 is dependent
Thu 24 Feb 2005 08:41:01 AM UTCcharles_levertAttached File-=>Added grep.c.diff.cvs-1.93.print_linehead.charles2a0, #4226

Back to the top

Powered by Savane 3.1-cleanup1