patchgrep - Patches: patch #3768, Warn and set context to zero if...

 
 

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

patch #3768: Warn and set context to zero if --only-matching in main() in src/grep.c

Submitted by:  Charles Levert <charles_levert>
Submitted on:  Thu 24 Feb 2005 08:28:09 AM UTC  
 
Category: NonePriority: 5 - Normal
Status: DonePrivacy: Public
Assigned to: NoneOpen/Closed: Closed

Tue 21 Jun 2005 05:21:46 AM UTC, comment #1:

Applied (committed) as CVS revision 1.103 of "src/grep.c".

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

In an effort to split patch #3644 in several smaller patches, this patch only adds a test to main() in scr/grep.c (cvs version 1.93). The test checks for --only-matching and context lines are both specified and if so, set both context specifications to zero and prints an explicit warning explaining what was done and why (as opposed to aborting the process in error).

Other code needs this zero setting to work correctly without having to repeatedly test for this conflictual condition.

Charles Levert <charles_levert>

 

Attached Files
file #8456:  grep.c.diff.cvs-1.93.main-o-nocontext.charles2a0 added by charles_levert (503B - application/octet-stream - actual unidiff patch (not the whole file!))
file #8452:  grep.c.cvs-1.93.main-o-nocontext.charles2a0 added by charles_levert (47kB - application/octet-stream - unidiff patch to test for --only-matching and non-zero context)

 

Depends on the following items: None found

Digest:
   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 5 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 21 Jun 2005 05:21:46 AM UTCcharles_levertStatusNone=>Done
  Open/ClosedOpen=>Closed
Tue 12 Apr 2005 03:09:31 PM UTCjulianfoadDependencies-=>patch #3644 is dependent
Thu 24 Feb 2005 08:43:02 AM UTCcharles_levertAttached File-=>Added grep.c.diff.cvs-1.93.main-o-nocontext.charles2a0, #4228
Thu 24 Feb 2005 08:28:09 AM UTCcharles_levertAttached File-=>Added grep.c.cvs-1.93.main-o-nocontext.charles2a0, #4224

Back to the top


Powered by Savane 3.1-cleanup