Skip to content

Commit d4c2561

Browse files
sevankhwilliamson
authored andcommitted
hints/darwin.sh: Provide reference for poll issue
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
1 parent fb1344b commit d4c2561

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hints/darwin.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,8 @@ dlext='bundle';
149149
usedl='define';
150150

151151
# 10.4 can use dlopen.
152-
# 10.4 broke poll().
152+
# 10.4 broke poll(). - Apple bug number 3710161
153+
# https://lists.apple.com/archives/Darwin-dev/2005/May/msg00220.html
153154
case "$osvers" in
154155
[1-7].*)
155156
dlsrc='dl_dyld.xs';

0 commit comments

Comments
 (0)