IBM / portlibfori

A set of APIs to enable applications to be more easily ported to PASE on IBM i
Other
8 stars 7 forks source link

WIP: glob, strl* #30

Open NattyNarwhal opened 2 years ago

NattyNarwhal commented 2 years ago

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.]

kadler commented 2 years ago

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?