Put back the tar support stubs (and warnings) for now.
authorEric Andersen <andersen@codepoet.org>
Fri, 31 Oct 2003 08:52:57 +0000 (08:52 -0000)
committerEric Andersen <andersen@codepoet.org>
Fri, 31 Oct 2003 08:52:57 +0000 (08:52 -0000)
archival/libunarchive/decompress_bunzip2.c

index 83232fbe818982bf2e4c62e8ca3afd7c88434c86..c66df5e6d69bbf048c053efb96ae7700110af3a6 100644 (file)
@@ -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",