[GHC] #1771: hFileSize gives negative values

GHC trac at galois.com
Thu Nov 8 11:19:51 EST 2007


#1771: hFileSize gives negative values
-----------------------+----------------------------------------------------
 Reporter:  guest      |          Owner:            
     Type:  bug        |         Status:  new       
 Priority:  normal     |      Milestone:  6.8 branch
Component:  Compiler   |        Version:  6.6.1     
 Severity:  normal     |     Resolution:            
 Keywords:  hFileSize  |     Difficulty:  Unknown   
 Testcase:             |   Architecture:  x86       
       Os:  Windows    |  
-----------------------+----------------------------------------------------
Changes (by igloo):

  * milestone:  => 6.8 branch

Comment:

 {{{
 hFileSize :: Handle -> IO Integer
 }}}
 so there's no good reason for this at the Haskell interface level. We
 probably need to call a different C function to allow for larger values.

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


More information about the Glasgow-haskell-bugs mailing list