findutils-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Findutils-patches] [PATCH] oldfind: Don't skip names matching ..*


From: Bernhard Voelker
Subject: Re: [Findutils-patches] [PATCH] oldfind: Don't skip names matching ..*
Date: Tue, 30 Dec 2014 14:43:24 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

On 12/29/2014 11:36 PM, Phil Miller wrote:
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.

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

Attachment: 0001-tests-add-test-for-the-previously-fixed-regression.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]