Bug 246707 - netpbm pm.h : typoed def for non GNU C compilers.
Summary: netpbm pm.h : typoed def for non GNU C compilers.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: netpbm
Version: 5.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Jindrich Novy
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-07-04 08:50 UTC by Jose Plans
Modified: 2018-10-19 18:34 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-02 09:18:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
netpbm-non_gnu_c_pm_h.patch (335 bytes, patch)
2007-07-04 08:50 UTC, Jose Plans
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2009:1268 0 normal SHIPPED_LIVE netpbm bug fix update 2009-09-01 09:30:26 UTC

Description Jose Plans 2007-07-04 08:50:50 UTC
Description of problem:
Netpbm's pm.h header provides a macro/def that seems to be a typo and affects
non-GNU compilers.

[...] ./lib/pm.h [...]
#ifdef __GNUC__
#define PM_GNU_PRINTF_ATTR(a,b) __attribute__ ((format (printf, a, b)))
#else
#define PM_GNU_PRINTF_ATTR
#endif
[...] ./lib/pm.h [...]

void PM_GNU_PRINTF_ATTR(1,2)
pm_message (const char format[], ...);

When __GNUC__ is not defined, this will result in:

void (1,2)
pm_message (const char format[], ...);


Version-Release number of selected component (if applicable):
netpbm-10.35

How reproducible:
Always.

Additional info:
Fixed upstream, checked revision: 354, maybe earlier.

Comment 1 Jose Plans 2007-07-04 08:50:50 UTC
Created attachment 158505 [details]
netpbm-non_gnu_c_pm_h.patch

Comment 2 RHEL Program Management 2007-12-03 20:43:46 UTC
This request was evaluated by Red Hat Product Management for
inclusion, but this component is not scheduled to be updated in
the current Red Hat Enterprise Linux release.  This request will
be reviewed for a future Red Hat Enterprise Linux release.

Comment 6 RHEL Program Management 2009-03-26 17:21:24 UTC
This request was evaluated by Red Hat Product Management for
inclusion, but this component is not scheduled to be updated in
the current Red Hat Enterprise Linux release. If you would like
this request to be reviewed for the next minor release, ask your
support representative to set the next rhel-x.y flag to "?".

Comment 12 errata-xmlrpc 2009-09-02 09:18:53 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2009-1268.html


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