-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix for #92 causes ABI break #101
Comments
It is mentioned here in the 3.1 release. (but as medium) Is something like libtool versioning not smart to use? |
Unfortunately, the libtool doc doesn't teach which changes are backward compatible and which aren't. Changing field offsets in a struct isn't. |
No it does not. (But it still has added value as it provide more info for the rt linker.) |
So, move the comment field to the end and keep the ABI version or bump it for a v3.2.1 bug fix release? |
As both 3.1 and 3,2 are "out there" I would consider a bump the correct fix. That aside, I would not move the comment field around unless there are other reasons to do so. |
I would strongly recommend against an abi break to fix an abi break. (p.s. thanks for the great library). |
OK, ABI bump for v3.2.1 seemed the sane choice for me as well. But with so many interested parties I thought it only prudent to ask. I'll get right on the release work in a day or two. It's going to be the last release in a while, so if you guys have anything else you want fixed, it's time to pipe up :) Otherwise, thanks for the awesome report and the kind words! |
OT for this issue, but, as you asked and before I open a new one: There is Debian #462251 sitting around and I can't find it among the closed github issues. |
@sur5r Ah, that one ... yeah someone should double check that |
I've checked this now, Debian #462251 was fixed by @fhunleth in commit 80fad81, which was released in libConfuse v2.8. We even have a unit test for it. Debian has some catching up to do. I'll send an update to the Debian bug shortly. |
Fix #101: Bump ABI 1.1.0 --> 2.0.0 and prepare release v3.2.1
There, fixed and relased v3.2.1. Big thank you to everyone that contributed to to this! |
0285479 introduced a new field
comment
in the middle ofstruct cfg_t
which causes an ABI break.See
Seems #81 does not catch this.
The text was updated successfully, but these errors were encountered: