diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2019-01-10 18:18:49 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2019-01-10 18:18:49 +0200 |
commit | 85c005ee1345c342f707f3c55317daf6cb050603 (patch) | |
tree | ff8716c8832678d8699ae8ff718135bd283c0e9a | |
parent | 2684c88a49a6da171c7e1ea03cbe5f8790c82711 (diff) | |
download | tar-85c005ee1345c342f707f3c55317daf6cb050603.tar.gz |
Remove erroneous abort() call
The call was introduced by commit ccef8581. It caused tar to abort
on perfectly normal operations, like untarring archives containing
./ with the -U option,
See http://lists.gnu.org/archive/html/bug-tar/2019-01/msg00019.html
for details.
* src/extract.c (maybe_recoverable): Remove misplaced call to abort().
-rw-r--r-- | src/extract.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extract.c b/src/extract.c index 090b866c..8276f8fe 100644 --- a/src/extract.c +++ b/src/extract.c @@ -787,7 +787,7 @@ maybe_recoverable (char *file_name, bool regular, bool *interdir_made) case UNLINK_FIRST_OLD_FILES: break; } - abort (); /* notreached */ + FALLTHROUGH; case ENOENT: /* Attempt creating missing intermediate directories. */ |