bug-findutils
[Top][All Lists]
Advanced

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

[bugs #11280] -printf '%P' not working correctly?


From: James Youngman
Subject: [bugs #11280] -printf '%P' not working correctly?
Date: Mon, 03 Jan 2005 17:36:36 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041219 Firefox/1.0 (Debian package 1.0+dfsg.1-1)

This mail is an automated notification from the bugs tracker
 of the project: findutils.

/**************************************************************************/
[bugs #11280] Latest Modifications:

Changes by: 
                James Youngman <address@hidden>
'Date: 
                Mon 01/03/2005 at 22:15 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
         Assigned to | None                      | jay
              Status | Open                      | Closed
       Fixed Release | None                      | 4.2.11







/**************************************************************************/
[bugs #11280] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11280>
Project: findutils
Submitted by: Chris Faylor
On: Thu 12/09/2004 at 16:01

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  Fixed
Privacy:  Public
Assigned to:  jay
Originator Name:  
Originator Email:  
Status:  Closed
Release:  4.2.10
Fixed Release:  4.2.11


Summary:  -printf '%P' not working correctly?

Original Submission:  find /usr/share/info -name 'find.info' -print '%P'

displays:

usr/share/info/find.info

rather than

find.info

Follow-up Comments
------------------


-------------------------------------------------------
Date: Sat 01/01/2005 at 20:16       By: James Youngman <jay>
This problem is fixed in the CVS code for findutils.
To resolve your problem, you could either wait for the 
next official release of findutils, or check out a copy 
of the code from the CVS repository for findutils.


-------------------------------------------------------
Date: Fri 12/10/2004 at 18:39       By: 0 <None>
The bug was introduced in find/find.c revision 1.38, replacing 
process_to_path() with a wrapper around process_path().

The old process_top_path() is available as old_process_top_path() but it is 
dead code which is never invoked.

I do not understand the code, but for those who do, this might be helpful.

-------------------------------------------------------
Date: Fri 12/10/2004 at 16:35       By: Andreas Metzler <ametzler>
The bug was introduced in 4.2.9 (4.2.8 is ok).

-------------------------------------------------------
Date: Fri 12/10/2004 at 16:21       By: Dmitry V. Levin <ldv>
It looks like regression:

$ find --version
GNU find version 4.2.5
$ find /usr/share/info -name 'find.info*' -printf '%Pn'
find.info.bz2

$ find --version
GNU find version 4.2.10
$ find /usr/share/info -name 'find.info*' -printf '%Pn'
usr/share/info/find.info.bz2


-------------------------------------------------------
Date: Fri 12/10/2004 at 16:08       By: Andreas Metzler <ametzler>
I've confirmed this bug and attached files for the testsuite to catch it.

I do hope I did not mke an error, this is my first contact with dejagnu.




CC List
-------

CC Address                          | Comment
------------------------------------+-----------------------------
ldv                                 | 



File Attachments
-------------------

-------------------------------------------------------
Date: Fri 12/10/2004 at 16:08  Name: printf.xo  Size: 33B   By: ametzler
Testsuite result file for find/testsuite/find.gnu/ to catch printf errors.
http://savannah.gnu.org/bugs/download.php?item_id=11280&amp;item_file_id=1966

-------------------------------------------------------
Date: Fri 12/10/2004 at 16:06  Name: printf.exp  Size: 223B   By: ametzler
Testsuite file for find/testsuite/find.gnu/ to catch printf errors.
http://savannah.gnu.org/bugs/download.php?item_id=11280&amp;item_file_id=1965






For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=11280>

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







reply via email to

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