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

Check for malloc_trim() support. #1054

Merged
merged 1 commit into from
Mar 16, 2022
Merged

Conversation

jjnicola
Copy link
Member

@jjnicola jjnicola commented Mar 11, 2022

What:
Add preprocessor directives to check if glibc is used in the system (default in the reference system), since malloc_trim() is not available in other system, like Alpine which uses musl libc
Jira: SC-549

Why:
See greenbone/gvm-libs#284

How:

Checklist:

  • Tests
  • PR merge commit message adjusted

@jjnicola jjnicola requested a review from a team as a code owner March 11, 2022 10:26
@jjnicola jjnicola enabled auto-merge (squash) March 11, 2022 10:26
@jjnicola jjnicola disabled auto-merge March 11, 2022 10:27
@jjnicola jjnicola enabled auto-merge (squash) March 11, 2022 10:27
Add preprocessor directives to check if glibc is used in the system (default in the reference system), since malloc_trim() is not available in other system, like Alpine which uses musl libc
@jjnicola jjnicola merged commit b8d22c4 into greenbone:main Mar 16, 2022
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

Successfully merging this pull request may close these issues.

3 participants