www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 6150] New: runnable/testsocket.d

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=6150

           Summary: runnable/testsocket.d
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: braddr puremagic.com



---
If I'm reading the code right, this test depends on connect not failing during
the connect and only later failing during the poll.  It's not wrong for connect
to fail immediately and not defer that to a poll, even with the socket set to
non-blocking.  I've seen it on linux and on freebsd/64 it seems to occur pretty
frequently (roughly half the time).

I'm tempted to just nuke the entire test.  It's not a dmd test, it's a phobos
test, and all that code is on the list of 'things that should be overhauled'
anyway.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 11 2011
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=6150




---
After a little research, trying to find where the test came from, I found that
my past has come back to haunt me.  The test came from the reporter of bug 268,
which I fixed.  The fix back then wasn't wrong and was unrelated to this
problem.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 12 2011
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=6150


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla digitalmars.com
         Resolution|                            |FIXED



19:04:33 PDT ---
https://github.com/D-Programming-Language/dmd/commit/82038bb65845aa847ab88f745017dc7ef97c498a

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 28 2011