[Top][All Lists]

[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: Sun, 12 Dec 2004 18:25:48 -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: 
                James Youngman <address@hidden>
                Sun 12/12/04 at 23:14 (GMT)

            What     | Removed                   | Added
          Resolution | None                      | Fixed

[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/04 at 16:01

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  Fixed
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'



rather than


Follow-up Comments

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

Date: Fri 12/10/04 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 --version
GNU find version 4.2.10
$ find /usr/share/info -name 'find.info*' -printf '%Pn'

Date: Fri 12/10/04 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/04 at 16:08  Name: printf.xo  Size: 33B   By: ametzler
Testsuite result file for find/testsuite/find.gnu/ to catch printf errors.

Date: Fri 12/10/04 at 16:06  Name: printf.exp  Size: 223B   By: ametzler
Testsuite file for find/testsuite/find.gnu/ to catch printf errors.

For detailed info, follow this link:

  Message sent via/by Savannah

reply via email to

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