In our previous episode, Tobias Giesen said:
> I just filed a bug report about FpFtruncate passing the parameters 
> incorrectly to the
> system. For example, setting a file size to $D would cause the file to have 
> the size
> $D 0000 000D. Apparently the conditional define FPC_ABI_EABI would fix it, 
> but what
> other impact does it have?
> 
> I wonder which other system calls might be affected? My application seems to 
> work
> fine except for this function.
> 
> https://bugs.freepascal.org/view.php?id=32772

I replied. Roughly anything with an 64-bit argument, (typically off_t) most
notably mmap.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to