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

WIP: glob, strl* #30

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

NattyNarwhal
Copy link
Contributor

AIX glob is missing a lot of features, and seems to be unreliable.
Import NetBSD glob in its place. This wraps the old header, but w/o
including it. THis should mean it totally shadows the legacy glob.

strl* is needed for glob and comes in handy in general

Provenance of code is OpenBSD and NetBSD.

[Marked WIP because not tested throughly yet.]

AIX glob is missing a lot of features, and seems to be unreliable.
Import NetBSD glob in its place. This wraps the old header, but w/o
including it. THis should mean it totally shadows the legacy glob.

strl* is needed for glob and comes in handy in general
@NattyNarwhal NattyNarwhal marked this pull request as draft July 12, 2022 16:25
@kadler
Copy link
Member

kadler commented Jul 12, 2022

As we add more and more of our own implementations of things, I wonder if we should start adding macros to allow overriding specific functions.

As it is, if you install libutil-devel, you will always get the libutil versions since they shadow the system headers. Is there a reason an application might want to use AIX glob with our flock or vice-versa?

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.

None yet

2 participants