]> git.alsa-project.org Git - alsa-lib.git/commit
conf: Use LFS calls when reading config files
authorSebastian Krzyszkowiak <dos@dosowisko.net>
Thu, 28 Apr 2022 20:46:56 +0000 (22:46 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 20 May 2022 07:54:32 +0000 (09:54 +0200)
commit45b65fa4c1f647159e453ffc3abe0218621e22c2
tree03de256ad7c4255851421bda8a0ca6fd4cb7ddc6
parent87034d6fc607528a9df5e1793d159e2f6904ebd8
conf: Use LFS calls when reading config files

Although at first glance it doesn't seem useful to support config
files larger than 2GB, LFS also influences inode size. Without this,
32-bit libasound may be unable to read config files on filesystems
with 64-bit inodes, such as Btrfs or NFS.

Fixes: https://github.com/alsa-project/alsa-lib/pull/223
Signed-off-by: Sebastian Krzyszkowiak <dos@dosowisko.net>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/conf.c