From 28d4e16cd7c08791be2eba6be78a5d0ad01397ac Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 7 Nov 2003 21:31:58 +0000 Subject: [PATCH] This appears to be the correct fix to make CONFIG_FEATURE_DEB_TAR_BZ2 support compile. Glenn, you may want to verify this. -Erik --- archival/libunarchive/filter_accept_list_reassign.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/archival/libunarchive/filter_accept_list_reassign.c b/archival/libunarchive/filter_accept_list_reassign.c index d9bee79d7..f34a23c33 100644 --- a/archival/libunarchive/filter_accept_list_reassign.c +++ b/archival/libunarchive/filter_accept_list_reassign.c @@ -47,9 +47,8 @@ extern char filter_accept_list_reassign(archive_handle_t *archive_handle) #endif #ifdef CONFIG_FEATURE_DEB_TAR_BZ2 if (strcmp(name_ptr, ".bz2") == 0) { - archive_handle->sub_archive->read = read_bz2; - BZ2_bzReadOpen(archive_handle->src_fd, NULL, 0); - archive_handle->action_data_subarchive = get_header_tar; + archive_handle->sub_archive->read = read; + archive_handle->action_data_subarchive = get_header_tar_bz2; return(EXIT_SUCCESS); } #endif -- 2.25.1