From e356883ffb0c7300aa0312864ddf203a6d322d94 Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Wed, 13 Nov 2002 00:24:20 +0000 Subject: Minor cleanups --- archival/libunarchive/get_header_tar_gz.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'archival/libunarchive/get_header_tar_gz.c') diff --git a/archival/libunarchive/get_header_tar_gz.c b/archival/libunarchive/get_header_tar_gz.c index f0d4b13..f77b775 100644 --- a/archival/libunarchive/get_header_tar_gz.c +++ b/archival/libunarchive/get_header_tar_gz.c @@ -28,8 +28,9 @@ extern char get_header_tar_gz(archive_handle_t *archive_handle) int fd_pipe[2]; int pid; unsigned char magic[2]; - + /* Cant lseek over pipe's */ + archive_handle->read = read; archive_handle->seek = seek_by_char; archive_xread_all(archive_handle, &magic, 2); -- cgit v1.1