diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2003-11-15 23:19:05 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2003-11-15 23:19:05 +0000 |
commit | 5699b8525e855a0e851725980964e8755e365f5b (patch) | |
tree | fe3d7ead1f80f5b56e44e52a651f368adf92c91d /archival/libunarchive/filter_accept_list_reassign.c | |
parent | 54ac057c0016ac23b7367342f4834e33cf7d47d7 (diff) | |
download | busybox-5699b8525e855a0e851725980964e8755e365f5b.tar.gz |
Move from read_gz to the pipe()+fork() method.
open_transformer(), common code for pipe+fork.
Function pointer for read() no longer needed.
Allow inflate to be initialised with a specified buffer size to avoid
over-reading.
Reset static variables in inflate_get_next_window to fix a bug where
only the first file in a .zip would be be extracted.
Diffstat (limited to 'archival/libunarchive/filter_accept_list_reassign.c')
-rw-r--r-- | archival/libunarchive/filter_accept_list_reassign.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/archival/libunarchive/filter_accept_list_reassign.c b/archival/libunarchive/filter_accept_list_reassign.c index f34a23c33..1e9da0f2b 100644 --- a/archival/libunarchive/filter_accept_list_reassign.c +++ b/archival/libunarchive/filter_accept_list_reassign.c @@ -40,14 +40,12 @@ extern char filter_accept_list_reassign(archive_handle_t *archive_handle) /* Modify the subarchive handler based on the extension */ #ifdef CONFIG_FEATURE_DEB_TAR_GZ if (strcmp(name_ptr, ".gz") == 0) { - archive_handle->sub_archive->read = read; archive_handle->action_data_subarchive = get_header_tar_gz; return(EXIT_SUCCESS); } #endif #ifdef CONFIG_FEATURE_DEB_TAR_BZ2 if (strcmp(name_ptr, ".bz2") == 0) { - archive_handle->sub_archive->read = read; archive_handle->action_data_subarchive = get_header_tar_bz2; return(EXIT_SUCCESS); } |