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: anonymous
Subject: [bugs #11280] -printf '%P' not working correctly?
Date: Fri, 10 Dec 2004 14:07:54 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041007 Debian/1.7.3-5

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

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

Changes by: Anonymous user
Date:  
                Fre 10.12.2004 at 18:39

------------------ Additional Follow-up Comments ----------------------------
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.






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

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

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


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: Fre 10.12.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: Fre 10.12.2004 at 16:35       By: Andreas Metzler <ametzler>
The bug was introduced in 4.2.9 (4.2.8 is ok).

-------------------------------------------------------
Date: Fre 10.12.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: Fre 10.12.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: Fre 10.12.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: Fre 10.12.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]