diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-10-31 08:52:57 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-10-31 08:52:57 +0000 |
commit | 8179cf2b78a508a350c7497c1e234376f20f418f (patch) | |
tree | acc722721bd65f51774ffef2ac574f0df70d6e51 | |
parent | 252183e3f53b58984397bf6e8bd727b2ebe85b2e (diff) | |
download | busybox-w32-8179cf2b78a508a350c7497c1e234376f20f418f.tar.gz busybox-w32-8179cf2b78a508a350c7497c1e234376f20f418f.tar.bz2 busybox-w32-8179cf2b78a508a350c7497c1e234376f20f418f.zip |
Put back the tar support stubs (and warnings) for now.
-rw-r--r-- | archival/libunarchive/decompress_bunzip2.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/archival/libunarchive/decompress_bunzip2.c b/archival/libunarchive/decompress_bunzip2.c index 83232fbe8..c66df5e6d 100644 --- a/archival/libunarchive/decompress_bunzip2.c +++ b/archival/libunarchive/decompress_bunzip2.c | |||
@@ -590,6 +590,22 @@ extern int uncompressStream(int src_fd, int dst_fd) | |||
590 | return i; | 590 | return i; |
591 | } | 591 | } |
592 | 592 | ||
593 | /* This new version is not yet properly integrated with tar */ | ||
594 | extern ssize_t read_bz2(int fd, void *buf, size_t count) | ||
595 | { | ||
596 | #warning FIXME "bzip2 tar support is broken!" | ||
597 | return(0); | ||
598 | } | ||
599 | |||
600 | extern void BZ2_bzReadOpen(int fd, void *unused, int nUnused) | ||
601 | { | ||
602 | #warning FIXME "bzip2 tar support is broken!" | ||
603 | } | ||
604 | extern void BZ2_bzReadClose(void) | ||
605 | { | ||
606 | #warning FIXME "bzip2 tar support is broken!" | ||
607 | } | ||
608 | |||
593 | #ifdef TESTING | 609 | #ifdef TESTING |
594 | 610 | ||
595 | static char * const bunzip_errors[]={NULL,"Bad file checksum","Not bzip data", | 611 | static char * const bunzip_errors[]={NULL,"Bad file checksum","Not bzip data", |