GHC 6.4/mingw32: files larger than 4 GB andhFileSize/hSetFileSize/c_stat

Simon Peyton-Jones simonpj at microsoft.com
Fri Apr 8 07:33:36 EDT 2005


By all means.  If someone cares to send us a patch, we'll incorporate
it. 

Simon

| -----Original Message-----
| From: glasgow-haskell-bugs-bounces at haskell.org
[mailto:glasgow-haskell-bugs-
| bounces at haskell.org] On Behalf Of Bulat Ziganshin
| Sent: 08 April 2005 10:38
| To: glasgow-haskell-bugs at haskell.org
| Subject: GHC 6.4/mingw32: files larger than 4 GB
andhFileSize/hSetFileSize/c_stat
| 
| 
| While GHC I/O library on mingw32 platform perfectly reads and writes
| files larger than 4 GB, functions hFileSize/c_fstat,
| hSetFileSize/c_ftruncate and c_stat are still tied to C functions
| returning 32 bit values and as a result truncate larger sizes to their
| low 32 bits. Can this behaviour be fixed in the next bug-fix version?
| 
| 
| --
| Best regards,
|  Bulat                          mailto:bulatz at HotPOP.com
| 
| 
| 
| _______________________________________________
| Glasgow-haskell-bugs mailing list
| Glasgow-haskell-bugs at haskell.org
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



More information about the Glasgow-haskell-bugs mailing list