[GHC] #1771: hFileSize gives negative values

GHC trac at haskell.org
Wed Oct 10 16:59:29 EDT 2007


#1771: hFileSize gives negative values
-----------------------+----------------------------------------------------
  Reporter:  guest     |          Owner:           
      Type:  bug       |         Status:  new      
  Priority:  normal    |      Milestone:           
 Component:  Compiler  |        Version:  6.6.1    
  Severity:  normal    |       Keywords:  hFileSize
Difficulty:  Unknown   |             Os:  Windows  
  Testcase:            |   Architecture:  x86      
-----------------------+----------------------------------------------------
 hFileSize gives negative values for very big files.

 Tested several times it works properly except in two files.
 They have[[BR]]
 - 2.936.134.256 bytes[[BR]]
 - 3.846.960.665 bytes[[BR]]

 They are in NTFS in Windows XP SP2.
 Not able to test in Fat or in other OS.

 The next biggest file was 1.154.008.883 bytes and it worked fine.

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


More information about the Glasgow-haskell-bugs mailing list