aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-10-31 08:52:57 +0000
committerEric Andersen <andersen@codepoet.org>2003-10-31 08:52:57 +0000
commit8179cf2b78a508a350c7497c1e234376f20f418f (patch)
treeacc722721bd65f51774ffef2ac574f0df70d6e51
parent252183e3f53b58984397bf6e8bd727b2ebe85b2e (diff)
downloadbusybox-8179cf2b78a508a350c7497c1e234376f20f418f.tar.gz
Put back the tar support stubs (and warnings) for now.
-rw-r--r--archival/libunarchive/decompress_bunzip2.c16
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)
return i;
}
+/* This new version is not yet properly integrated with tar */
+extern ssize_t read_bz2(int fd, void *buf, size_t count)
+{
+#warning FIXME "bzip2 tar support is broken!"
+ return(0);
+}
+
+extern void BZ2_bzReadOpen(int fd, void *unused, int nUnused)
+{
+#warning FIXME "bzip2 tar support is broken!"
+}
+extern void BZ2_bzReadClose(void)
+{
+#warning FIXME "bzip2 tar support is broken!"
+}
+
#ifdef TESTING
static char * const bunzip_errors[]={NULL,"Bad file checksum","Not bzip data",