diff options
author | Glenn L McGrath | 2003-01-28 01:45:48 +0000 |
---|---|---|
committer | Glenn L McGrath | 2003-01-28 01:45:48 +0000 |
commit | 21110a0aa2bda7346bdd916bbc027dfa38ee7c12 (patch) | |
tree | e2ecea1661a39605675307f029bbacc68faa97e9 /archival/libunarchive/data_extract_all.c | |
parent | a99534354a538573770d2b9835856fcfc017dab1 (diff) | |
download | busybox-21110a0aa2bda7346bdd916bbc027dfa38ee7c12.zip busybox-21110a0aa2bda7346bdd916bbc027dfa38ee7c12.tar.gz |
Fix long standing bug with old gnu tar files, add a check so tar will
complain "unknown file type" if it tries to extract an oldgnu tar file
and TAR_FEATURE_OLDGNU_COMPATABILITY sint defined.
Print a warning if unisupported gnu extensions are encountered.
Diffstat (limited to 'archival/libunarchive/data_extract_all.c')
-rw-r--r-- | archival/libunarchive/data_extract_all.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/archival/libunarchive/data_extract_all.c b/archival/libunarchive/data_extract_all.c index 9c4510e..1eb8bb3 100644 --- a/archival/libunarchive/data_extract_all.c +++ b/archival/libunarchive/data_extract_all.c @@ -84,6 +84,8 @@ extern void data_extract_all(archive_handle_t *archive_handle) perror_msg("Cannot create node %s", file_header->name); } break; + default: + error_msg_and_die("Unrecognised file type"); } chmod(file_header->name, file_header->mode); |