Skip to content
Prev 16309 / 63424 Next

problems with truncate() with files > 2Gb under Windows (possibly (PR#7879)

To follow up on the truncate() part of this, Windows does not use chsize 
directly any more, but ftruncate like all other platforms.  However, 
truncate() was limited to files < 2Gb on all platforms.  I have changed 
the latter and your example now works both on 32-bit Windows and on 64-bit 
Linux.
On Thu, 19 May 2005 tplate@blackmesacapital.com wrote: