diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-12-14 11:10:25 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-12-14 12:07:24 +0100 |
commit | adb158b7396cbdcda347fa298978408e531a03fd (patch) | |
tree | fd6877e72a20840cd3962f80a89618bd08fcf04b /bootstrap | |
parent | ea49fbdea3bbb9b55951b7bff9d9cf768fd23161 (diff) | |
download | guix-adb158b7396cbdcda347fa298978408e531a03fd.tar.gz |
deduplication: Gracefully handle ENOSPC raised by 'link' calls.
Reported by Andreas Enge <andreas@enge.fr> in <https://bugs.gnu.org/33676>. * guix/store/deduplication.scm (replace-with-link): Catch ENOSPC around 'get-temp-link'. Do nothing when 'get-temp-link' throws ENOSPC. Move code to restore PARENT's permissions outside of 'catch'. * tests/store-deduplication.scm ("deduplicate, ENOSPC"): New test.
Diffstat (limited to 'bootstrap')
0 files changed, 0 insertions, 0 deletions