bugfindutils - Bugs: bug #45090, oldfind incorrectly omits ...

 
 

bug #45090: oldfind incorrectly omits test/..test

Submitter:  James Youngman <jay>
Submitted:  Tue 12 May 2015 10:02:25 PM UTC
 
Category:  find Severity:  4 - Important
Item Group:  Wrong result Status:  Fixed
Privacy:  Public Assigned to:  jay
Originator Name:  Phil Miller Open/Closed:  Closed
Release:  4.5.10 Fixed Release:  4.5.15
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       

 

Tue 12 May 2015 10:04:07 PM UTC, comment #1: 

Bernhard Voelker responded:

Good catch!
This regression has been introduced by commit v4.5.10-95-ga29e61b
back in 2011.  I added a test for this - see attached.

Thanks & have a nice day,
Berny

(file #33992)

James Youngman <jay>
Project Administrator
Tue 12 May 2015 10:02:25 PM UTC, original submission:  

There's a bit of a silly bug I noticed in the 'oldfind' code, reproducible as follows:

$ mkdir test
$ touch test/..test
$ oldfind test
test

Note that the file "test/..test" was not listed.

The attached patch fixes this.

James Youngman <jay>
Project Administrator

 

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

Attach Files:
   
   
Comment:
   

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jay (Submitted the item)
  •  

    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.

    Only logged-in users can vote.

     

     

     

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-12-18 jay Open/ClosedOpen Closed
        Fixed ReleaseNone 4.5.15
    2015-05-12 jay StatusIn Progress Fixed
        ReleaseNone 4.5.10
    2015-05-12 jay Attached File- Added 0001-tests-add-test-for-the-previously-fixed-regression.patch, #33992
    2015-05-12 jay Attached File- Added 0001-oldfind-Don-t-skip-names-matching.patch, #33991

    Back to the top


    Powered by Savane 3.9