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

GHC ghc-devs at haskell.org
Fri Mar 11 12:26:51 UTC 2016


#11697: rts/posix/Itimer.c: ignoring return value of ‘read’
-------------------------------------+-------------------------------------
        Reporter:  erikd             |                Owner:
            Type:  bug               |               Status:  patch
        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):  phab:D1993
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"8626d76a723c2514bab91afb82e6b8b94fed2a2b/ghc"
 8626d76a/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="8626d76a723c2514bab91afb82e6b8b94fed2a2b"
 rtx/posix/Itimer.c: Handle return value of `read`

 On Ubuntu libc's `read` function is marked with attribute
 `warn_unused_result` which was causing build failures on
 Harbourmaster.

 Test Plan: validate on Harbourmaster

 Reviewers: austin, hvr, bgamari

 Reviewed By: hvr, bgamari

 Subscribers: thomie

 Differential Revision: https://phabricator.haskell.org/D1993

 GHC Trac Issues: #11697
 }}}

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


More information about the ghc-tickets mailing list