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

Solaris: implement equivalent of getifaddrs() with ioctl() #1514

Closed
wants to merge 2 commits into from

Conversation

matlo607
Copy link

I propose a first draft to fix the issue #1458
I wait for your feedbacks.

PS: why are you building with -std=gnu89 and not -std=c99 or -std=gnu99 ?
C99 has really nice features that allows to write cleaner code.

getifaddrs() is only available since Solaris 11. Older versions of
Solaris have to use ioctl() to perform the equivalent task. If
getifaddrs() is not available, SUNOS_NO_IFADDRS is defined.
@bnoordhuis
Copy link
Member

cc @libuv/sunos - maybe one of you can review this?

@matlo607
Copy link
Author

I am aware that Solaris is dying (https://www.theregister.co.uk/2017/09/04/oracle_layoffs_solaris_sparc_teams/) but some people may still be interested.
@cjihrig, @bnoordhuis: is there anybody still interested to review this draft ?
@libuv/smartos: what is your position about the support of solaris ? please could you advice ? should we just close this issue ?

@bnoordhuis
Copy link
Member

cc @libuv/smartos - if you don't review, presumably no one will.

@misterdjules
Copy link

@bnoordhuis I'll try to take a look, but since it doesn't seem to be relevant to SmartOS, it's not high in my list of priorities.

@bnoordhuis
Copy link
Member

There are conflicts and no sign-offs so I'm afraid there's nothing to do but close it out. Thanks anyway for the pull request.

@bnoordhuis bnoordhuis closed this Apr 12, 2018
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

3 participants