]> git.ipfire.org Git - thirdparty/tar.git/commit
Fix savannah bug #63123
authorSergey Poznyakoff <gray@gnu.org>
Sat, 22 Oct 2022 09:06:45 +0000 (12:06 +0300)
committerSergey Poznyakoff <gray@gnu.org>
Sat, 22 Oct 2022 16:59:04 +0000 (19:59 +0300)
commit17debecd7300e94f590b8ce167a8c0735cb6d57d
tree892e2e325bdd84b3b2a3955b4913235b99ebe759
parent02f9af1b8df67e55ceb19ea1465d210a2fa1f02c
Fix savannah bug #63123

The bug was introduced by commit 79d1ac38c1, which didn't take into
account all the consequences of returning RECOVER_OK on EEXIST, in
particular interactions with the delayed_set_stat logic.

The commit 79d1ac38c1 is reverted (the bug it was intended to fix
was actually fixed by 79a442d7b0).  Instead:

* src/extract.c (maybe_recoverable): Don't call maybe_recoverable
if EEXIST is reported when UNLINK_FIRST_OLD_FILES option is set.
src/extract.c