From: Bruno Haible Date: Sun, 30 Jun 2019 12:48:50 +0000 (+0200) Subject: poll: Add comment. X-Git-Tag: v1.0~4816 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=1d56a7919af2bbf9245e9c55cd9458d88887dae6;p=gnulib.git poll: Add comment. * lib/poll.c: Add comment about WSAPoll. --- diff --git a/ChangeLog b/ChangeLog index 6fe1531a04..cd60fe7fe3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2019-06-30 Bruno Haible + + poll: Add comment. + * lib/poll.c: Add comment about WSAPoll. + 2019-06-30 Bruno Haible poll-h: Fix compilation error on mingw with _WIN32_WINNT >= 0x0600. diff --git a/lib/poll.c b/lib/poll.c index f6de24c793..5d9150c13a 100644 --- a/lib/poll.c +++ b/lib/poll.c @@ -76,6 +76,13 @@ #ifdef WINDOWS_NATIVE +/* Do *not* use the function WSAPoll + + because there is a bug named “Windows 8 Bugs 309411 - WSAPoll does not + report failed connections” that Microsoft won't fix. + See Daniel Stenberg: "WASPoll is broken" + . */ + /* Here we need the recv() function from Windows, that takes a SOCKET as first argument, not any possible gnulib override. */ # undef recv