Skip to content

SocketTypes: use UnsupportedSocketType instead of -1.#560

Merged
kazu-yamamoto merged 1 commit intohaskell:masterfrom
jessicah:fix-unsupported-socket-type-patterns
Jun 5, 2023
Merged

SocketTypes: use UnsupportedSocketType instead of -1.#560
kazu-yamamoto merged 1 commit intohaskell:masterfrom
jessicah:fix-unsupported-socket-type-patterns

Conversation

@jessicah
Copy link
Contributor

@jessicah jessicah commented Jun 2, 2023

UnsupportedSocketType was introduced in 569d5d1, but the values were not updated for cases where the socket type did not exist on the target system.

This was discovered whilst attempting to build on Haiku, which does not have SOCK_RDM.

`UnsupportedSocketType` was introduced in 569d5d1, but the values were not updated for cases where the socket type did not exist on the target system.

This was discovered whilst attempting to build on Haiku, which does not have `SOCK_RDM`.
Copy link
Collaborator

@kazu-yamamoto kazu-yamamoto left a comment

Choose a reason for hiding this comment

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

LGTM

@kazu-yamamoto kazu-yamamoto merged commit e4444fb into haskell:master Jun 5, 2023
@kazu-yamamoto
Copy link
Collaborator

Merged.
Thank you for your contribution!

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.

2 participants