Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 77885 - h2ph incorrectly converts some glibc headers
Summary: h2ph incorrectly converts some glibc headers
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: perl
Version: 7.2
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Warren Togami
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2002-11-14 19:44 UTC by Douglas K. Fischer
Modified: 2007-04-18 16:48 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2005-09-11 11:00:05 UTC

Attachments (Terms of Use)
Patch against perl5.005_03 (deleted)
2002-11-14 19:45 UTC, Douglas K. Fischer
no flags Details | Diff

Description Douglas K. Fischer 2002-11-14 19:44:26 UTC
Description of problem:

The version of h2ph included with perl < 5.8.0 incorrectly converts glibc header files that 
include versioned elements such as "__GNUC_PREREQ (2,8)".

Version-Release number of selected component (if applicable): perl < 5.8.0

How reproducible:


Steps to Reproduce:

1.With perl < 5.8.0 execute h2ph against /usr/include/sys/cdefs.h or any other header that 
includes such a versioned element as described above.

Additional info:

This bug is corrected by the Perl team in 5.8.0 and requires utils/h2ph.PL to be patched 
(patch attached). This effects any version of Red Hat Linux running perl < 5.8.0

Comment 1 Douglas K. Fischer 2002-11-14 19:45:54 UTC
Created attachment 85125 [details]
Patch against perl5.005_03

Comment 2 Douglas K. Fischer 2002-11-14 19:47:22 UTC
The attached patch is against perl 5.005_03; however, 5.6.0 and 5.6.1 are likewise 
affected and the same patch should apply against those versions as well.

Comment 4 Warren Togami 2005-09-11 11:00:05 UTC
Closing because 7.2 is not a supported product.

Note You need to log in before you can comment on or make changes to this bug.