aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archival/tar.c2
-rw-r--r--tar.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/archival/tar.c b/archival/tar.c
index 4bf8004ea..eb085c770 100644
--- a/archival/tar.c
+++ b/archival/tar.c
@@ -595,7 +595,7 @@ static int readTarFile(int tarFd, int extractFlag, int listFlag,
}
}
if ( *(header.name) == '\0' )
- goto endgame;
+ continue;
header.tarFd = tarFd;
/* Skip funky extra GNU headers that precede long files */
diff --git a/tar.c b/tar.c
index 4bf8004ea..eb085c770 100644
--- a/tar.c
+++ b/tar.c
@@ -595,7 +595,7 @@ static int readTarFile(int tarFd, int extractFlag, int listFlag,
}
}
if ( *(header.name) == '\0' )
- goto endgame;
+ continue;
header.tarFd = tarFd;
/* Skip funky extra GNU headers that precede long files */