]> git.ipfire.org Git - thirdparty/coreutils.git/commit
ls: fix aclinfo cache bug
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 7 Nov 2024 20:32:21 +0000 (12:32 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 9 Nov 2024 07:41:18 +0000 (23:41 -0800)
commitb857d66b51e34568b4fdab07053433df1413243b
tree33676fecbbd7da6c6a30d95256685b69fbfef69d
parente9d294afb987d692a133458c14ca4b2c8eed5d77
ls: fix aclinfo cache bug

Found when testing on a new platform with a new file system.
* src/ls.c (file_has_aclinfo_cache): For failures, also cache
return value, scontext, and scontext_err, and when using cached
values make sure buf and size have reasonable values for
aclinfo_free etc.
src/ls.c