Thread overview |
---|
September 25, 2008 [Issue 2373] New: freebsd select does not accept values > 999,999 | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=2373 Summary: freebsd select does not accept values > 999,999 Product: D Version: unspecified Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: bugzilla@digitalmars.com ReportedBy: alan@akbkhome.com 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); } -- |
September 25, 2008 [Issue 2373] freebsd select does not accept values > 999,999 | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2373 ------- Comment #1 from alan@akbkhome.com 2008-09-25 00:17 ------- For reference. http:/www.php.net/bug.php?id=24629 -- |
October 21, 2008 [Issue 2373] freebsd select does not accept values > 999,999 | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2373 bugzilla@digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #2 from bugzilla@digitalmars.com 2008-10-20 22:19 ------- Fixed dmd 1.036 and 2.020 -- |
Copyright © 1999-2021 by the D Language Foundation