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

 
 

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

Submitted by:  James Youngman <jay>
Submitted on:  Tue 12 May 2015 10:02:25 PM UTC  
 
Category: findSeverity: 4 - Important
Item Group: Wrong resultStatus: Fixed
Privacy: PublicAssigned to: James Youngman <jay>
Originator Name: Phil MillerOpen/Closed: Closed
Release: 4.5.10Fixed Release: 4.5.15

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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 AdministratorIn charge of this item.
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 AdministratorIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    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 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 18 Dec 2015 02:55:50 PM UTCjayOpen/ClosedOpen=>Closed
      Fixed ReleaseNone=>4.5.15
    Tue 12 May 2015 10:24:25 PM UTCjayStatusIn Progress=>Fixed
      ReleaseNone=>4.5.10
    Tue 12 May 2015 10:04:07 PM UTCjayAttached File-=>Added 0001-tests-add-test-for-the-previously-fixed-regression.patch, #33992
    Tue 12 May 2015 10:02:25 PM UTCjayAttached File-=>Added 0001-oldfind-Don-t-skip-names-matching.patch, #33991

    Back to the top


    Powered by Savane 3.1-cleanup1