In our previous episode, Peter said:
> >
> Thanks for that. So is it a bug then? Why is 64-bit not using ftruncate64?

I'm no linux expert, but I assume because it is only for 32-bit. On 64-bit,
off_t already is 64-bit, so the posix template matches 1:1, and there is no
need for another function.

Most BSDs have off_t at 64-bit, and therefore don't have this problem.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to