Skip to content
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

changes to numa_node_size breaks program #135

Closed
DE0CH opened this issue Sep 16, 2022 · 4 comments
Closed

changes to numa_node_size breaks program #135

DE0CH opened this issue Sep 16, 2022 · 4 comments

Comments

@DE0CH
Copy link

DE0CH commented Sep 16, 2022

In commit a7c4bc7 the signature of the function is changed from

long numa_node_size(int node, long *freep)

to

long long numa_node_size(int node, long long *freep);

causing any program that uses this this function to fail to compile.

While I see that this is done to prevent overflow, it shouldn't be introduced in a maintenance release. Since it is backward incompatible, it should be included in the next major release according to Semantic Versioning.

@andikleen
Copy link
Contributor

andikleen commented Sep 16, 2022 via email

andikleen pushed a commit that referenced this issue Sep 16, 2022
Revert due to #135 -- cannot break API for programs

This reverts commit a7c4bc7.
@thesamesam
Copy link

Using abidiff may help to find problems like this.

@filbranden
Copy link
Member

Resolved with release of 2.0.16

@thesamesam
Copy link

Using abidiff may help to find problems like this.

I should've elaborated a bit, here's some examples of how projects do it in CI: Matroska-Org/libebml#104 (comment). Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants