www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2373] New: freebsd select does not accept values > 999,999

reply d-bugmail puremagic.com writes:
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);
        }


-- 
Sep 24 2008
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2373






For reference.
http:/www.php.net/bug.php?id=24629


-- 
Sep 24 2008
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2373


bugzilla digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED





Fixed dmd 1.036 and 2.020


-- 
Oct 20 2008