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

D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 2373 - freebsd select does not accept values > 999,999
Summary: freebsd select does not accept values > 999,999
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D2
Hardware: x86 Linux
: P2 normal
Assignee: Walter Bright
URL:
Keywords:
Depends on:
Blocks:
Reported: 2008年09月25日 00:17 UTC by Alan Knowles
Modified: 2015年06月09日 05:15 UTC (History)
0 users

See Also:


Attachments
Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this issue.
Description Alan Knowles 2008年09月25日 00:17:10 UTC
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 Alan Knowles 2008年09月25日 00:17:36 UTC
For reference.
http:/www.php.net/bug.php?id=24629 
Comment 2 Walter Bright 2008年10月20日 22:19:08 UTC
Fixed dmd 1.036 and 2.020


AltStyle によって変換されたページ (->オリジナル) /