aplay,axfer: Replace off64_t with off_t

GitHub pull_request - opened github at alsa-project.org
Thu Dec 15 23:12:26 CET 2022


alsa-project/alsa-utils pull request #183 was opened from kraj:

Also replace lseek64 with lseek.

_FILE_OFFSET_BITS=64 is passed to needed platforms since configure uses AC_SYS_LARGEFILE macro. Therefore off_t is already 64-bit and lseek is same as lseek64.

Additionally this fixes buils with latest musl where these lfs64 functions are moved out from _GNU_SOURCE and under _LARGEFILE64_SOURCE macro alone. This makes the builds fail on 32-bit platforms even though default off_t on musl is 64-bit always.

Signed-off-by: Khem Raj <raj.khem at gmail.com>

Request URL   : https://github.com/alsa-project/alsa-utils/pull/183
Patch URL     : https://github.com/alsa-project/alsa-utils/pull/183.patch
Repository URL: https://github.com/alsa-project/alsa-utils


More information about the Alsa-devel mailing list