[LTP] [PATCH] testcases: Fix largefile support

Richard Palethorpe rpalethorpe@suse.de
Thu Dec 15 11:22:17 CET 2022


Hello,

Khem Raj <raj.khem@gmail.com> writes:

> Use standard functions ( not 64-bit equivalents ) which operate on off_t
> and pass -D_FILE_OFFSET_BITS=64 to enable LFS always so off_t is 64bit
> for these tests.
>
> This helps making it portable across musl which has removed the 64bit
> transition functions from _GNU_SOURCE namespace.

Looks and sounds reasonable, let's see if it works on older distros:

https://github.com/richiejp/ltp/actions/runs/3703162227

-- 
Thank you,
Richard.


More information about the ltp mailing list