Further optimize poll() on Windows

This commit is contained in:
Justine Tunney 2024-09-22 22:24:56 -07:00
parent 556a294363
commit 518eabadf5
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
6 changed files with 44 additions and 64 deletions

View file

@ -31,6 +31,8 @@ const char *_DescribeFdSet(char buf[N], ssize_t rc, int nfds, fd_set *fds) {
if (!fds)
return "NULL";
if (rc == -1)
return "n/a";
if (kisdangerous(fds)) {
ksnprintf(buf, N, "%p", fds);
return buf;