[git commit] tar: skip 'V' headers (GNU volume label), closes 11526
Denys Vlasenko
vda.linux at googlemail.com
Tue Nov 27 11:09:01 UTC 2018
commit: https://git.busybox.net/busybox/commit/?id=403d2574be8f8c41aa46f73dec5f998b2cbf2790
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master
function old new delta
get_header_tar 1696 1690 -6
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
archival/libarchive/get_header_tar.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/archival/libarchive/get_header_tar.c b/archival/libarchive/get_header_tar.c
index 5c495e14e..52fa4554a 100644
--- a/archival/libarchive/get_header_tar.c
+++ b/archival/libarchive/get_header_tar.c
@@ -414,7 +414,8 @@ char FAST_FUNC get_header_tar(archive_handle_t *archive_handle)
// case 'D': /* GNU dump dir */
// case 'M': /* Continuation of multi volume archive */
// case 'N': /* Old GNU for names > 100 characters */
-// case 'V': /* Volume header */
+ case 'V': /* Volume header */
+ ; /* Fall through to skip it */
#endif
}
skip_ext_hdr:
More information about the busybox-cvs
mailing list