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

Bulat Ziganshin bulatz at HotPOP.com
Fri Apr 8 05:37:58 EDT 2005


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






More information about the Glasgow-haskell-bugs mailing list