bug-findutils
[Top][All Lists]
Advanced

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

[bugs #12085] -printf pathname:%/0.000000 gives wrong result


From: anonymous
Subject: [bugs #12085] -printf pathname:%/0.000000 gives wrong result
Date: Tue, 22 Feb 2005 06:56:44 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040608

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12085>

                 Summary: -printf pathname:%h/%f gives wrong result
                 Project: findutils
            Submitted by: None
            Submitted on: Tue 02/22/2005 at 01:56
                Category: find
                Severity: 5 - Average
              Item Group: Wrong result
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: address@hidden
             Open/Closed: Open
                 Release: 4.1.20
           Fixed Release: None

    _______________________________________________________

Details:

Wrong result for files without slashes:



# find Makefile po/Makefile -printf 'pathname:%h/%f\n'

/Makefile  <===== ??!

pathname:po/Makefile



Patch fixes this:

# find.fixed Makefile po/Makefile -printf 'pathname:%h/%f\n'

pathname:./Makefile

pathname:po/Makefile





    _______________________________________________________

Carbon-Copy List:

CC Address                          | Comment
------------------------------------+-----------------------------
vda --AT-- ilport --DOT-- com --DOT-- ua | Originator Email



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 02/22/2005 at 01:56  Name: findutils-4.1.20.dirprintf.patch  Size:
673B   By: None

<http://savannah.gnu.org/bugs/download.php?item_id=12085&item_file_id=2228>

    _______________________________________________________

This item URL is:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12085>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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