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

kernel: reduce reliance on autoconf defined values (via config.h) in our header files #4678

Conversation

fingolfin
Copy link
Member

@fingolfin fingolfin commented Oct 22, 2021

This is a subset of PR #4674 (which in turn is a subset of PR #4492), without the bits that are causing a weird CI failure, so hopefully this PR can be merged quicker.

@fingolfin fingolfin added topic: kernel release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes labels Oct 22, 2021
No package needs it: float defines its own version (but doesn't use it),
CaratInterface has a faux reference, no other distributed package reference it

As part of this, replace `task_self` by `mach_task_self`, the name used on
macOS. The old name presumably was for use on NeXTStep, which is ancient
history.
... instead of only defining our own version of strlcat / strlcpy on systems
where they are unavailable. This gets rid of a dependency on config.h in our
header files.
Now we only #define it when building HPC-GAP
@fingolfin fingolfin force-pushed the mh/reduce-autoconf-usage-in-headers-sub branch from 1282e2f to da1a4fe Compare October 22, 2021 12:00
Copy link
Member

@wilfwilson wilfwilson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All looks reasonable to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes topic: kernel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants