[win32] bug: win32_select() must StartSockets()
authorGurusamy Sarathy <gsar@cpan.org>
Wed, 4 Feb 1998 00:44:47 +0000 (00:44 +0000)
committerGurusamy Sarathy <gsar@cpan.org>
Wed, 4 Feb 1998 00:44:47 +0000 (00:44 +0000)
p4raw-id: //depot/win32/perl@460

win32/win32sck.c

index 5ac2ef6..8019cc3 100644 (file)
@@ -269,6 +269,7 @@ win32_select(int nfds, Perl_fd_set* rd, Perl_fd_set* wr, Perl_fd_set* ex, const
     int i, fd, bit, offset;
     FD_SET nrd, nwr, nex, *prd, *pwr, *pex;
 
+    StartSockets();
     PERL_FD_ZERO(&dummy);
     if (!rd)
        rd = &dummy, prd = NULL;