patchgrep - Patches: patch #4604, Fix left anchors and -w problems

 
 

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

patch #4604: Fix left anchors and -w problems

Submitter:  Charles Levert <charles_levert>
Submitted:  Wed 09 Nov 2005 11:23:45 AM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  charles_levert Open/Closed:  Closed

Thu 10 Nov 2005 08:12:32 PM UTC, comment #2: 

Slightly modified as per Julian Foad's patch on bug-grep.
Committed to CVS as:
  grep/ChangeLog 1.280
  grep/tests/foad1.sh 1.14
  grep/tests/fmbtest.sh 1.4
  grep/src/grep.h 1.13
  grep/src/grep.c 1.117
  grep/src/search.c 1.38

Charles Levert <charles_levert>
Thu 10 Nov 2005 03:42:54 AM UTC, comment #1: 

Version 2.

Note that this also addresses bug #8243.

The execute() interface was changed from using a "size_t start_pos" to a "char const *start_ptr".  The "tests/fmbtest.sh" file is now also modified.  The explanation in the ChangeLog entry was much expanded.

Charles Levert <charles_levert>
Wed 09 Nov 2005 11:23:45 AM UTC, original submission:  

The following set of changes make previously failing tests relative to left anchors (^ and \<) and -w pass.

It should address the issues raised in bug #11579 and patch #1834.

It now makes fmbtest.sh Test #6 (G and E) fail, but isn't it that test that has wrong expectations?  (Test that -{G,E} --color=always prefers earlier pattern matches.  Earlier as in -e/-f order.)

Charles Levert <charles_levert>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #6471:  sp2.patch added by charles_levert (18KiB - text/x-patch - "cvs diff -u" patch version 2)
file #6690:  sp.patch added by charles_levert (14KiB - text/x-patch - "cvs diff -u" patch version 1)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 5 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-11-10 charles_levert StatusReady For Test Done
    Open/ClosedOpen Closed
2005-11-10 charles_levert StatusNone Ready For Test
    Attached File- Added sp2.patch, #5452
2005-11-09 charles_levert Attached File- Added sp.patch, #5449

Back to the top

Powered by Savane 3.13-d3ae.
Corresponding source code