diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-06-25 10:07:09 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-06-25 12:29:22 +0200 |
commit | b930f0ba2115f71c323d4bf3d72efb763f716296 (patch) | |
tree | 66fdfe72abdde53aff37050ac35a1fb7594b684c /nix/libutil | |
parent | b06ba9e0ff79d3130a81ee48a11a27af6330dcf0 (diff) | |
download | guix-b930f0ba2115f71c323d4bf3d72efb763f716296.tar guix-b930f0ba2115f71c323d4bf3d72efb763f716296.tar.gz |
daemon: Correctly handle EMLINK corner case when deduplicating.
Suggested by Caleb Ristvedt <caleb.ristvedt@cune.org>.
* nix/libstore/optimise-store.cc (LocalStore::optimisePath_): Save errno
from 'rename' before calling 'unlink'.
Diffstat (limited to 'nix/libutil')
0 files changed, 0 insertions, 0 deletions