libpciaccess: Changes to 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Dec 15 20:18:19 UTC 2022
src/linux_sysfs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 833c86ce15cee2a84a37ae71015f236fd32615d9
Author: Khem Raj <raj.khem at gmail.com>
Date: Fri Nov 11 11:15:58 2022 -0800
linux_sysfs: Use pwrite/pread instead of 64bit versions
pread64/pwrite64 are aliased to pread/pwrite when largefile support is
enabled e.g. using _FILE_OFFSET_BITS=64 macro
This helps it compile on latest musl C library based systems where these
functions are put under _LARGEFILE64_SOURCE which is to be removed once
all packages start using 64bit off_t, it works with glibc becuase
_GNU_SOURCE feature macro also defines _LARGEFILE64_SOURCE, thats not
the case with musl
Signed-off-by: Khem Raj <raj.khem at gmail.com>
More information about the xorg-commit
mailing list