[GHC] #9168: reading/writing blocking FDs over FD_SETSIZE is broken

GHC ghc-devs at haskell.org
Wed Jun 4 22:52:33 UTC 2014


#9168: reading/writing blocking FDs over FD_SETSIZE is broken
-------------------------------------+------------------------------------
        Reporter:  rwbarton          |            Owner:
            Type:  bug               |           Status:  new
        Priority:  normal            |        Milestone:
       Component:  libraries/base    |          Version:  7.8.1
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------

Comment (by rwbarton):

 Oh, and if `poll(2)` is not available and so we have to fall back to
 `select`, and we call `fdReady` on an fd exceeding `FD_SETSIZE`, we should
 raise an exception, of course.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9168#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list