Home GnuPG
Diffusion nPth 75dba175e0ea

w32: Make npth_eselect actually work.
75dba175e0eaUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

w32: Make npth_eselect actually work.

* w32/npth.c (npth_eselect): Rewrite.

It never worked because the result FDSETs were first cleared and then
used to see which fd to check after the WFMO. The new way better
resembles the way a select is expected to work under Windows (ignoring
the first arg) and will also work if this library is used by
application which have been build with a different FD_SETSIZE.

Details

Provenance
wernerAuthored on Feb 19 2014, 8:56 PM
Parents
rPTH4312f9670997: w32: Avoid calling FD_ISSET with a NULL fdset.
Branches
Unknown
Tags
Unknown