
#15715: problematic openFile with named pipes -------------------------------------+------------------------------------- Reporter: adp | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: libraries/base | Version: 8.4.3 Resolution: invalid | Keywords: Operating System: Linux | Architecture: x86_64 Type of failure: Incorrect result | (amd64) at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by adp): Thanks for the answer, very helpful! Given in the future some people might have the same problem I had, shouldn't the docs be updated? Currently it says:
This operation may fail with:
- `isAlreadyInUseError` if the file is already open and cannot be reopened; - `isDoesNotExistError` if the file does not exist; or - `isPermissionError` if the user does not have permission to open the file.
Not mentioning that one could get `isDoesNotExistError` by other reason than the file not existing, like in this case. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15715#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler