[fpc-pascal] Truncate procedure unable to work under Linux, is this a bug?
Marco van de Voort
marcov at stack.nl
Wed May 20 17:36:32 CEST 2015
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.
More information about the fpc-pascal