Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267753 - dev-libs/iniparser-3.0b headers and source are inconsistent
Summary: dev-libs/iniparser-3.0b headers and source are inconsistent
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 259715
  Show dependency tree
 
Reported: 2009-04-28 10:06 UTC by John Keeping
Modified: 2009-05-04 09:03 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to fix the header to reflect the implementation (iniparser-3.0b-fix-set-functions.patch,1.24 KB, patch)
2009-04-28 10:11 UTC, John Keeping
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Keeping 2009-04-28 10:06:59 UTC
The iniparser.c file used to build libiniparser.so.0 defines iniparser_set with the same parameters as the iniparser_setstring function declared in iniparser.h, but does not define iniparser_setstring. This means it is impossible to cleanly build any source using these functions against libiniparser.
Comment 1 John Keeping 2009-04-28 10:11:20 UTC
Created attachment 189690 [details, diff]
Patch to fix the header to reflect the implementation

Patch which changes the header to reflect the current state of the source. The documentation is also changed as looking in the source indicates that it was incorrect.
Comment 2 Jorge Manuel B. S. Vicetto (RETIRED) gentoo-dev 2009-05-04 09:03:44 UTC
Applied with rev-bump.