projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9f5b82
)
Skip headers with empty filenames, rather than stopping.
author
Matt Kraai
<kraai@debian.org>
Tue, 1 May 2001 21:12:31 +0000
(21:12 -0000)
committer
Matt Kraai
<kraai@debian.org>
Tue, 1 May 2001 21:12:31 +0000
(21:12 -0000)
archival/tar.c
patch
|
blob
|
history
tar.c
patch
|
blob
|
history
diff --git
a/archival/tar.c
b/archival/tar.c
index 4bf8004eafad45f56f9fd5b79e951646ac32ac4f..eb085c770ded64efa645219ff971b72bdfa49285 100644
(file)
--- 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 endgam
e;
+
continu
e;
header.tarFd = tarFd;
/* Skip funky extra GNU headers that precede long files */
diff --git
a/tar.c
b/tar.c
index 4bf8004eafad45f56f9fd5b79e951646ac32ac4f..eb085c770ded64efa645219ff971b72bdfa49285 100644
(file)
--- a/
tar.c
+++ b/
tar.c
@@
-595,7
+595,7
@@
static int readTarFile(int tarFd, int extractFlag, int listFlag,
}
}
if ( *(header.name) == '\0' )
-
goto endgam
e;
+
continu
e;
header.tarFd = tarFd;
/* Skip funky extra GNU headers that precede long files */