The winsock select() implementation doesn't support all empty 'fd_set's.
authorJan Dubois <jand@activestate.com>
Tue, 13 Oct 2009 23:46:58 +0000 (16:46 -0700)
committerJan Dubois <jand@activestate.com>
Tue, 13 Oct 2009 23:46:58 +0000 (16:46 -0700)
commite4d771f5006ebd70b76422437cce60e9ac40c830
tree29862aebef69b67e2c77dc7ffd5a38ddcfd70efa
parent50e225a377de7c314b13cbaf39b6b423215d84a7
The winsock select() implementation doesn't support all empty 'fd_set's.

The code already contained a workaround for the special case

    select(undef, undef, undef, $sleep);

but didn't handle the case when actual bit vectors were passed in
that didn't have any bits set.

Fixes http://rt.perl.org/rt3/Public/Bug/Display.html?id=54544
t/op/sselect.t
win32/win32sck.c