Message-Id: <
199807020225.TAA18740@gobi.gps.caltech.edu>
Date: Wed, 1 Jul 1998 19:25:56 -0700 (PDT)
Subject: [PATCH 5.004_69] select dumps core on MSWin32-x86
--
Message-Id: <
199807030107.SAA08595@gobi.gps.caltech.edu>
Date: Thu, 2 Jul 1998 18:07:19 -0700 (PDT)
Subject: [PATCH 5.004_69] select dumps core on MSWin32-x86
p4raw-id: //depot/perl@1303
* so do the (millisecond) sleep as a special case
*/
if (!(rd || wr || ex)) {
- Sleep(timeout->tv_sec * 1000 +
- timeout->tv_usec / 1000); /* do the best we can */
+ if (timeout)
+ Sleep(timeout->tv_sec * 1000 +
+ timeout->tv_usec / 1000); /* do the best we can */
+ else
+ Sleep(UINT_MAX);
return 0;
}
StartSockets();