
#7773: Waiting on non-kqueue supported files on OS X ----------------------------------------+----------------------------------- Reporter: AndreasVoellmy | Owner: Type: bug | Status: new Priority: normal | Component: libraries/base Version: 7.7 | Keywords: Os: MacOS X | Architecture: Unknown/Multiple Failure: Incorrect result at runtime | Blockedby: Blocking: | Related: ----------------------------------------+----------------------------------- Comment(by AndreasVoellmy): Maybe this is version-specific. For example, when I run your test program on 10.8.2 with /dev/random, kqueue fails with errno set to 22, which is EINVAL. Any thoughts on how we can reliably detect this problem across versions? Should we check either EINVAL or ENOTSUP? -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7773#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler