This appears to be the correct fix to make CONFIG_FEATURE_DEB_TAR_BZ2

support compile.  Glenn, you may want to verify this.
 -Erik
This commit is contained in:
Eric Andersen 2003-11-07 21:31:58 +00:00
parent d2160aaeab
commit 28d4e16cd7

View File

@ -47,9 +47,8 @@ extern char filter_accept_list_reassign(archive_handle_t *archive_handle)
#endif #endif
#ifdef CONFIG_FEATURE_DEB_TAR_BZ2 #ifdef CONFIG_FEATURE_DEB_TAR_BZ2
if (strcmp(name_ptr, ".bz2") == 0) { if (strcmp(name_ptr, ".bz2") == 0) {
archive_handle->sub_archive->read = read_bz2; archive_handle->sub_archive->read = read;
BZ2_bzReadOpen(archive_handle->src_fd, NULL, 0); archive_handle->action_data_subarchive = get_header_tar_bz2;
archive_handle->action_data_subarchive = get_header_tar;
return(EXIT_SUCCESS); return(EXIT_SUCCESS);
} }
#endif #endif