summaryrefslogtreecommitdiff
path: root/archival/tar.c
diff options
context:
space:
mode:
authorDenis Vlasenko2006-11-26 01:46:59 +0000
committerDenis Vlasenko2006-11-26 01:46:59 +0000
commitb59633586846b08157916163c25c8aec81d4da4a (patch)
tree1039c60eb9f5ba91f55b626c568f9112881f5421 /archival/tar.c
parent7725d0ff5c3dd6209c0813344347431109bc6a7d (diff)
downloadbusybox-b59633586846b08157916163c25c8aec81d4da4a.zip
busybox-b59633586846b08157916163c25c8aec81d4da4a.tar.gz
tar: correctly skip (and warn about) pax headers.
plug memory leak. save 50 bytes. Wooohooo! we finally can unpack kernel tarballs!
Diffstat (limited to 'archival/tar.c')
-rw-r--r--archival/tar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/tar.c b/archival/tar.c
index bf6786f..48a1c34 100644
--- a/archival/tar.c
+++ b/archival/tar.c
@@ -768,7 +768,7 @@ int tar_main(int argc, char **argv)
if (verboseFlag) tar_handle->action_header = header_verbose_list;
if (verboseFlag == 1) tar_handle->action_header = header_list;
- if ((opt & OPT_EXTRACT) && tar_handle->action_data != data_extract_to_stdout)
+ if (opt & OPT_EXTRACT)
tar_handle->action_data = data_extract_all;
if (opt & OPT_2STDOUT)