diff options
author | Denis Vlasenko | 2006-11-26 01:46:59 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-11-26 01:46:59 +0000 |
commit | b59633586846b08157916163c25c8aec81d4da4a (patch) | |
tree | 1039c60eb9f5ba91f55b626c568f9112881f5421 /archival/tar.c | |
parent | 7725d0ff5c3dd6209c0813344347431109bc6a7d (diff) | |
download | busybox-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.c | 2 |
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) |