-
Notifications
You must be signed in to change notification settings - Fork 202
Closed
Description
network/Network/Socket/Unix.hsc
Lines 148 to 152 in 1a8a923
| -- This function does not work on Windows. | |
| recvFd :: Socket -> IO CInt | |
| recvFd s = allocaBytes dummyBufSize $ \buf -> do | |
| (NullSockAddr, _, cmsgs, _) <- recvBufMsg s [(buf,dummyBufSize)] 32 mempty | |
| case (lookupCmsg CmsgIdFds cmsgs >>= decodeCmsg) :: Maybe [Fd] of |
Network\Socket\Unix.hsc:152:22: error:
Data constructor not in scope: CmsgIdFds :: CmsgId
Suggested fix:
Perhaps use ‘CmsgIdFd’ (imported from Network.Socket.Win32.Cmsg)
|
152 | case (lookupCmsg CmsgIdFds cmsgs >>= decodeCmsg) :: Maybe [Fd] of
| ^^^^^^^^^
In CI: https://github.com/haskell/network/actions/runs/8386827442/job/22967896871?pr=573#step:9:126
The first bad CI run was: https://github.com/haskell/network/actions/runs/5779705020
Breakage seem to be connected to
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels