This is a test that 'hWaitForInput' is accurate when waiting for a socket
Diff Detail
Diff Detail
- Repository
- rGHC Glasgow Haskell Compiler
- Branch
- master
- Lint
Lint OK - Unit
No Unit Test Coverage - Build Status
Comment Actions
Make sure to have an extra close look at this, I'm not so sure this will turn out to be a FILE_TYPE_SOCKET when it gets down to the RTS.
Comment Actions
I'll admit I don't really know what this means. I know of nothing called FILE_TYPE_SOCKET. Are you concerned about fdReady's isSock argument not being set? Indeed looking at GHC.IO.FD.ready it seems that we only set it on Windows.
Comment Actions
This passes on linux. I'll need harbormaster to verify that this works on windows as well.