summaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorEric Andersen2003-11-07 21:31:58 +0000
committerEric Andersen2003-11-07 21:31:58 +0000
commit28d4e16cd7c08791be2eba6be78a5d0ad01397ac (patch)
treeb41c0c940be0e8bd988af89554822aa854ac0c77 /archival
parentd2160aaeab9466afef0714a7ef000648013648d9 (diff)
downloadbusybox-28d4e16cd7c08791be2eba6be78a5d0ad01397ac.zip
busybox-28d4e16cd7c08791be2eba6be78a5d0ad01397ac.tar.gz
This appears to be the correct fix to make CONFIG_FEATURE_DEB_TAR_BZ2
support compile. Glenn, you may want to verify this. -Erik
Diffstat (limited to 'archival')
-rw-r--r--archival/libunarchive/filter_accept_list_reassign.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/archival/libunarchive/filter_accept_list_reassign.c b/archival/libunarchive/filter_accept_list_reassign.c
index d9bee79..f34a23c 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