diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2002-11-05 02:56:57 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2002-11-05 02:56:57 +0000 |
commit | 7f2a95319b640d8a40e370352cc4a8d8b8d63e0e (patch) | |
tree | 4a3208eb2fd77b946ccedaff5de898f877eb36cc /include | |
parent | 18bbca18acf229875f2bb60cc37c3e8c22d237bc (diff) | |
download | busybox-w32-7f2a95319b640d8a40e370352cc4a8d8b8d63e0e.tar.gz busybox-w32-7f2a95319b640d8a40e370352cc4a8d8b8d63e0e.tar.bz2 busybox-w32-7f2a95319b640d8a40e370352cc4a8d8b8d63e0e.zip |
Fail silently if a partial tar header is read as tar.bz2 is leaving trailing junk (not sure why), add some missing files
Diffstat (limited to 'include')
-rw-r--r-- | include/unarchive.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/unarchive.h b/include/unarchive.h index 18bf089fb..b4e8e6360 100644 --- a/include/unarchive.h +++ b/include/unarchive.h | |||
@@ -91,6 +91,7 @@ extern void check_trailer_gzip(int src_fd); | |||
91 | 91 | ||
92 | extern char get_header_ar(archive_handle_t *archive_handle); | 92 | extern char get_header_ar(archive_handle_t *archive_handle); |
93 | extern char get_header_tar(archive_handle_t *archive_handle); | 93 | extern char get_header_tar(archive_handle_t *archive_handle); |
94 | extern char get_header_tar_bz2(archive_handle_t *archive_handle); | ||
94 | extern char get_header_tar_gz(archive_handle_t *archive_handle); | 95 | extern char get_header_tar_gz(archive_handle_t *archive_handle); |
95 | 96 | ||
96 | extern void seek_by_jump(const archive_handle_t *archive_handle, const unsigned int amount); | 97 | extern void seek_by_jump(const archive_handle_t *archive_handle, const unsigned int amount); |
@@ -108,6 +109,7 @@ extern const llist_t *find_list_entry(const llist_t *list, const char *filename) | |||
108 | 109 | ||
109 | extern ssize_t read_bz2(int fd, void *buf, size_t count); | 110 | extern ssize_t read_bz2(int fd, void *buf, size_t count); |
110 | extern void BZ2_bzReadOpen(int fd, void *unused, int nUnused); | 111 | extern void BZ2_bzReadOpen(int fd, void *unused, int nUnused); |
112 | extern void BZ2_bzReadClose(void); | ||
111 | extern unsigned char uncompressStream(int src_fd, int dst_fd); | 113 | extern unsigned char uncompressStream(int src_fd, int dst_fd); |
112 | 114 | ||
113 | #endif | 115 | #endif |