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

 
 

bug #20804: -path vs. -wholename

Submitted by:  Eric Blake <ericb>
Submitted on:  Fri 17 Aug 2007 06:17:24 PM UTC  
 
Category: findSeverity: 3 - Normal
Item Group: Wrong resultStatus: Fixed
Privacy: PublicAssigned to: James Youngman <jay>
Originator Name: Eric BlakeOpen/Closed: Closed
Release: 4.3.8Fixed Release: 4.3.9

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 11 Nov 2007 07:47:59 PM UTCjayOpen/ClosedOpen=>Closed
      Fixed ReleaseNone=>4.3.9
    Sat 08 Sep 2007 12:48:36 PM UTCjayStatusIn Progress=>Fixed
    Sun 19 Aug 2007 06:57:10 PM UTCjayStatusNone=>In Progress
      Assigned toNone=>jay

    Back to the top


    Powered by Savane 3.1-cleanup1