[GHC] #1771: hFileSize gives negative values
GHC
trac at galois.com
Fri Nov 9 08:48:14 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 >2gb | Difficulty: Unknown
Testcase: | Architecture: x86
Os: Windows |
----------------------------+-----------------------------------------------
Changes (by guest):
* keywords: hFileSize => hFileSize >2gb
Comment:
This function is _filelengthi64. But don't forget to correct hSeek/hTell
too. It's part of "New Haskell I/O library" drama which has long, long
story :)
one possible temporary solution is to use my Streams library
(http://haskell.org/haskellwiki/Library/Streams) which supports large
files
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1771#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list