#9236: hGetContents leads to late/silent failures -------------------------------------+------------------------------------- Reporter: dfeuer | Owner: ekmett Type: feature | Status: new request | Milestone: Priority: normal | Version: 7.8.2 Component: Core | Keywords: Libraries | Architecture: Unknown/Multiple Resolution: | Difficulty: Easy (less than 1 Operating System: | hour) Unknown/Multiple | Blocked By: Type of failure: Other | Related Tickets: #8213 Test Case: | Blocking: | Differential Revisions: Phab:D327 | -------------------------------------+------------------------------------- Comment (by Austin Seipp <austin@…>): In [changeset:"257cbec2f605c31d335a6709b43754a88f184d9d/ghc"]: {{{ #!CommitTicketReference repository="ghc" revision="257cbec2f605c31d335a6709b43754a88f184d9d" Fix #9236 Error on read from closed handle Summary: Fixes #9236. My testing indicates that this does *not* lead to problems with broken pipes and such, but further testing is required. It found a bug in haddock; I've submitted a pull request upstream. Reviewers: ekmett, austin Reviewed By: ekmett, austin Subscribers: rwbarton, thomie, carter, simonmar Differential Revision: https://phabricator.haskell.org/D327 GHC Trac Issues: #9236 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9236#comment:8> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler