#4970: time002 and time004 (ghci) test failures on OS X 64 bit
------------------------------------------+---------------------------------
  Reporter:  gwright                      |          Owner:  igloo         
      Type:  bug                          |         Status:  patch         
  Priority:  high                         |      Milestone:  7.2.1         
 Component:  GHCi                         |        Version:  7.0.1         
Resolution:                               |       Keywords:                
  Testcase:                               |      Blockedby:                
Difficulty:                               |             Os:  MacOS X       
  Blocking:                               |   Architecture:  x86_64 (amd64)
   Failure:  Incorrect result at runtime  |  
------------------------------------------+---------------------------------
Changes (by altaic):

 * cc: william.knop.nospam@… (added)
  * status:  new => patch


Comment:

 I've created four bitesize patches against HEAD which add Haskell types
 for `useconds_t` and `suseconds_t` (respectively `CUSeconds` and
 `CSUSeconds`), and then fix `getClockTime`, `getCPUTime`, and
 `getCurrentTime`. The `getCurrentTime` bug was not reported, but a quick
 grep of uses of `struct timeval` revealed that `GHC.Event.Clock` used
 `CLong` for both fields, which would fail in the same way as the reported
 bugs.

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

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to