[fpc-pascal] Truncate procedure unable to work under Linux, is this a bug?

Jürgen Hestermann juergen.hestermann at gmx.de
Mon May 18 17:45:13 CEST 2015


Am 2015-05-18 um 09:30 schrieb Michael Van Canneyt:
> Function FileTruncate (Handle: THandle; Size: Int64) : boolean;
> but even that does not work with files >2Gb on unix, because the underlying system call does not support it.

> I don't know what happens on Windows.

On windows it should be possible, at least no restriction mentioned in
https://msdn.microsoft.com/en-us/library/windows/desktop/aa365531%28v=vs.85%29.aspx



More information about the fpc-pascal mailing list