Bug 2373 – freebsd select does not accept values > 999,999

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2008-09-25T00:17:00Z
Last change time
2015-06-09T05:15:20Z
Assigned to
bugzilla
Creator
alan

Comments

Comment #0 by alan — 2008-09-25T00:17:10Z
Fix for std.socket static int select(SocketSet checkRead, SocketSet checkWrite, SocketSet checkError, int microseconds) { timeval tv; tv.seconds = microseconds > 1000000 ? (microseconds/1000000) : 0; tv.microseconds = microseconds % 1000000; return select(checkRead, checkWrite, checkError, &tv); }
Comment #1 by alan — 2008-09-25T00:17:36Z
For reference. http:/www.php.net/bug.php?id=24629
Comment #2 by bugzilla — 2008-10-20T22:19:08Z
Fixed dmd 1.036 and 2.020