bugfindutils - Bugs: bug #20804, -path vs. -wholename

 
 

bug #20804: -path vs. -wholename

Submitter:  Eric Blake <ericb>
Submitted:  Fri 17 Aug 2007 06:17:24 PM UTC
   
 
Category:  find Severity:  3 - Normal
Item Group:  Wrong result Status:  Fixed
Privacy:  Public Assigned to:  jay
Originator Name:  Eric Blake Open/Closed:  Closed
Release:  4.3.8 Fixed Release:  4.3.9
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 08 Sep 2007 12:48:36 PM UTC, comment #2: 

The patch was applied to 4.3.x on 22 August 2007.

James Youngman <jay>
Group administrator
Sun 19 Aug 2007 06:57:10 PM UTC, comment #1: 

I have just posted a patch (to 4.3.x) to un-deprecate it.

James Youngman <jay>
Group administrator
Fri 17 Aug 2007 06:17:24 PM UTC, original submission:  

The next revision of POSIX (at least, as of draft 3 of POSIX 200x, freely available to Austin group members), will mandate the addition of the -path expression.

Right now, GNU find has -path == -wholename, and -ipath == -iwholename.  Of these four expressions, only -path is (going to be) POSIX-mandated, while only -ipath causes a deprecation warning.  Perhaps it is time to reverse this, and make both -path and -ipath be warning-free, and instead make -wholename and -iwholename issue deprecation warnings (-wholename because the same thing can be achieved via a POSIX-mandated alternative, similar to how -d is deprecated in favor of POSIX-mandated -depth; and -iwholename for consistency with -wholename).

Eric Blake <ericb>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jay (Posted a comment)
  • -email is unavailable- added by ericb (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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-11-11 jay Open/ClosedOpen Closed
        Fixed ReleaseNone 4.3.9
    2007-09-08 jay StatusIn Progress Fixed
    2007-08-19 jay StatusNone In Progress
        Assigned toNone jay

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code