Changes between Initial Version and Version 1 of Ticket #8089, comment 2


Ignore:
Timestamp:
Jul 24, 2013 6:09:48 PM (9 months ago)
Author:
merijn
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8089, comment 2

    initial v1  
    22 
    33New patch deals with this by taking the max of `maxBound :: Int` and `fromIntegral (maxBound :: CInt) :: Int)`, as a result if the conversion from `maxBound :: CInt` to Int underflows the `maxPollTimeout` is turned into "maxBound :: Int", which is sufficient, as the poll function can't receive time outs bigger than that anyway. 
     4 
     5For changes from old patch, see: https://github.com/merijn/packages-base/commit/427f1e667e619b0c1ab8784edcb048c65744cbaf