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

 
 

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

Submitter:  Andreas Metzler <ametzler>
Submitted:  Fri 29 Jul 2005 05:37:24 PM UTC
   
 
Category:  find Severity:  3 - Normal
Item Group:  Wrong result Status:  Fixed
Privacy:  Public Assigned to:  jay
Originator Name:  Isaac Clerencia Open/Closed:  Closed
Release:  4.2.23 Fixed Release:  4.2.24
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group administrator
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 Files:
   
   
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
  • -email is unavailable- added by ametzler (Originator Email)
  •  

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

    Date Changed by Updated Field Previous Value => Replaced by
    2005-07-30 jay Open/ClosedOpen Closed
        ReleaseNone 4.2.23
        Fixed ReleaseNone 4.2.24
    2005-07-29 jay Attached File- Added findutils-printf-%Y%y-nonpollution.patch, #2764
    2005-07-29 jay StatusNone Fixed
        Assigned toNone jay
    2005-07-29 ametzler Attached File- Added patchforstestsuite.diff, #2762
        Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.14-d582.
    Corresponding source code