Skip to content

Conversation

@sevan
Copy link
Contributor

@sevan sevan commented Oct 1, 2025

From OpenSSH 8.9 release notes:
For character-special devices like /dev/null, Darwin's poll(2) returns POLLNVAL when polled with POLLIN. Apparently this is Apple bug 3710161 - not public but a websearch will find other OSS projects rediscovering it periodically since it was first identified in 2005.

https://www.openssh.com/txt/release-8.9

From OpenSSH 8.9 release notes:
For character-special devices like /dev/null, Darwin's poll(2) returns POLLNVAL
when polled with POLLIN. Apparently this is Apple bug 3710161 -
not public but a websearch will find other OSS projects
rediscovering it periodically since it was first identified in
2005.

https://www.openssh.com/txt/release-8.9
Copy link
Contributor

@jkeenan jkeenan left a comment

Choose a reason for hiding this comment

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

I have no objection to this. The line it's replacing was added in 2005. But someone who is a current Darwin user should review the text at the URL to make sure it's relevant.

@khwilliamson
Copy link
Contributor

I checked it out

@khwilliamson khwilliamson merged commit d4c2561 into Perl:blead Oct 1, 2025
3 checks passed
@sevan
Copy link
Contributor Author

sevan commented Oct 1, 2025

I checked it out

Thanks.

@sevan sevan deleted the darwin-poll-bug-hint branch October 1, 2025 18:45
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.

3 participants