Re: [PATCH 1/2] contrib/vhost-user-blk: Replace lseek64 with lseek

2022-12-18 Thread Raphael Norwitz
> On Dec 17, 2022, at 8:08 PM, Khem Raj wrote: > > 64bit off_t is already in use since build uses _FILE_OFFSET_BITS=64 > already. Using lseek/off_t also makes it work with latest must without s/must/musl/ ? > using _LARGEFILE64_SOURCE macro. This macro is implied with _GNU_SOURCE > when using

[PATCH 1/2] contrib/vhost-user-blk: Replace lseek64 with lseek

2022-12-17 Thread Khem Raj
64bit off_t is already in use since build uses _FILE_OFFSET_BITS=64 already. Using lseek/off_t also makes it work with latest must without using _LARGEFILE64_SOURCE macro. This macro is implied with _GNU_SOURCE when using glibc but not with musl. Signed-off-by: Khem Raj Cc: Michael S. Tsirkin