Re: [GHC] #11697: rts/posix/Itimer.c: ignoring return value of ‘read’

GHC ghc-devs at haskell.org
Thu Mar 10 22:50:42 UTC 2016


#11697: rts/posix/Itimer.c: ignoring return value of ‘read’
-------------------------------------+-------------------------------------
        Reporter:  erikd             |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Runtime System    |              Version:  8.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by hvr):

 Replying to [comment:1 erikd]:
 > Probably a better solution:

 IMO, in case of an unexpected return code we should rather emit some
 error/warning message. I would have fixed this myself a few days ago when
 this started breaking my `./validate`s but I didn't have time for a proper
 fix yet and was hoping the author of the patch would beat me providing a
 fix...


 PS: phab:rGHC120b9cdb31878ecee442c0a4bb9532a9d30c0c64

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


More information about the ghc-tickets mailing list