bugfindutils - Bugs: bug #13973, %Y format directive breaks...

 
 

bug #13973: %Y format directive breaks subsequent %y directives in find

Submitted by:  Andreas Metzler <ametzler>
Submitted on:  Fri 29 Jul 2005 05:37:24 PM UTC  
 
Category: findSeverity: 3 - Normal
Item Group: Wrong resultStatus: Fixed
Privacy: PublicAssigned to: James Youngman <jay>
Originator Name: Isaac ClerenciaOpen/Closed: Closed
Release: 4.2.23Fixed Release: 4.2.24

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Fri 29 Jul 2005 09:54:53 PM UTC, comment #1:

The attached patch, which I am about to apply to the CVS repository, resolves this problem.

James Youngman <jay>
Project AdministratorIn charge of this item.
Fri 29 Jul 2005 05:37:24 PM UTC, original submission:

Isaac Clerencia reported this as http://bugs.debian.org/320378. I've confirmed that it applies to current CVS.

-----------------
See the following behaviour:
isaac@lupin:/tmp/findbug$ ls -l
total 1
lrwxrwxrwx 1 isaac isaac 4 2005-07-29 00:20 bar -> foo/
drwxr-xr-x 2 isaac isaac 1024 2005-07-29 00:20 foo
isaac@lupin:/tmp/findbug$ find . -printf "%y %Y\n"
d d
d d
l d
isaac@lupin:/tmp/findbug$ find . -printf "%Y %y\n"
d d
d d
d d
isaac@lupin:/tmp/findbug$

I guess the output in the second "find" should be:
d d
d d
d l
--------------------------------------------

thanks, cu andreas

Andreas Metzler <ametzler>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #3298:  findutils-printf-%Y%y-nonpollution.patch added by jay (1KiB - text/x-patch - fix)
file #3296:  patchforstestsuite.diff added by ametzler (970B - text/plain - Patch for testsuite)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by ametzler (Originator Email)
  •  

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

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 30 Jul 2005 09:39:22 PM UTCjayOpen/ClosedOpen=>Closed
      ReleaseNone=>4.2.23
      Fixed ReleaseNone=>4.2.24
    Fri 29 Jul 2005 09:55:38 PM UTCjayAttached File-=>Added findutils-printf-%Y%y-nonpollution.patch, #2764
    Fri 29 Jul 2005 09:54:53 PM UTCjayStatusNone=>Fixed
      Assigned toNone=>jay
    Fri 29 Jul 2005 05:37:25 PM UTCametzlerAttached File-=>Added patchforstestsuite.diff, #2762
      Carbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1