[fpc-pascal] Truncate procedure unable to work under Linux, is this a bug?
peter at pblackman.plus.com
Wed May 20 17:44:50 CEST 2015
On 20/05/15 16:36, Marco van de Voort wrote:
> In our previous episode, Peter said:
>> It should work if Truncate64 is used instead of Truncate.
>> I suggest its a bug, albeit probably a wishlist one.
> ftruncate64 is already used for 32-bit CPUs, ftruncate for 64-bit cpus
> You can get info on what FPC sends to the kernel using strace.
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
Thanks for that. So is it a bug then? Why is 64-bit not using ftruncate64?
More information about the fpc-pascal