summaryrefslogtreecommitdiff
path: root/archival/libunarchive/init_handle.c
diff options
context:
space:
mode:
authorEric Andersen2003-07-05 23:10:27 +0000
committerEric Andersen2003-07-05 23:10:27 +0000
commite3393513c5f18e726795103f54b5ffd52a371638 (patch)
tree2841757c7c8bb6c335376caecce0fd4646d48a56 /archival/libunarchive/init_handle.c
parent9f894f4062dbdd427895a9d12ca06e34791a4fb3 (diff)
downloadbusybox-e3393513c5f18e726795103f54b5ffd52a371638.zip
busybox-e3393513c5f18e726795103f54b5ffd52a371638.tar.gz
Be certain to not abort prematurely when reading stuff from pipes.
Diffstat (limited to 'archival/libunarchive/init_handle.c')
-rw-r--r--archival/libunarchive/init_handle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/libunarchive/init_handle.c b/archival/libunarchive/init_handle.c
index 4b01034..2659aa3 100644
--- a/archival/libunarchive/init_handle.c
+++ b/archival/libunarchive/init_handle.c
@@ -30,7 +30,7 @@ archive_handle_t *init_handle(void)
archive_handle->action_header = header_skip;
archive_handle->action_data = data_skip;
archive_handle->filter = filter_accept_all;
- archive_handle->read = read;
+ archive_handle->read = bb_full_read;
archive_handle->seek = seek_by_jump;
return(archive_handle);