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

getpwuid_r entry in interface database for Solaris is using old prototype #519

Open
xrme opened this issue Sep 26, 2024 · 0 comments
Open

Comments

@xrme
Copy link
Member

xrme commented Sep 26, 2024

On Solaris (well, OmniOS), the interface translator seems to be picking up the following prototype for getpwuid_r from /usr/include/pwd.h:

extern struct passwd *getpwuid_r(uid_t, struct passwd *, char *, int);

It's be good to somehow get the standard one instead

extern int getpwuid_r(uid_t, struct passwd *, char *,
    size_t, struct passwd **);

Maybe there's some way we can make it through the #ifdef maze, but maybe not.

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

1 participant