diff options
author | Ludovic Courtès <ludo@gnu.org> | 2023-07-11 00:27:31 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-07-11 15:47:56 +0200 |
commit | fe3321f91ae331d3f1d4a389f28fdf02f74da7e8 (patch) | |
tree | 12cb0ed7d3b324a939049582a9c85bd5e2a8cd9e /tests/guix-archive.sh | |
parent | e1c2c2f042e8741c0759e21e634cd2271e078177 (diff) | |
download | guix-fe3321f91ae331d3f1d4a389f28fdf02f74da7e8.tar.gz |
cache: 'file-expiration-time' uses 'lstat', not 'stat'.
Fixes a bug whereby 'cached-channel-instance' would potentially consider cache entries obsolete too early because they refer to items in the store, which is mounted as 'noatime' on Guix System. * guix/cache.scm (file-expiration-time): Use 'lstat' and 'false-if-exception' rather than 'stat'. This matches what (guix scripts shell) does.
Diffstat (limited to 'tests/guix-archive.sh')
0 files changed, 0 insertions, 0 deletions