From: Michihiro NAKAJIMA Date: Sat, 6 Oct 2012 07:01:09 +0000 (+0900) Subject: lrunzip is no longer used. X-Git-Tag: v3.1.0~40^2~98 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3720a7f118c5a89c2f71ccc463f9733ee0dda13d;p=thirdparty%2Flibarchive.git lrunzip is no longer used. --- diff --git a/cpio/test/main.c b/cpio/test/main.c index ac0347529..36867725a 100644 --- a/cpio/test/main.c +++ b/cpio/test/main.c @@ -1902,21 +1902,6 @@ canLrzip(void) return (value); } -/* - * Can this platform run the lrunzip program? - */ -int -canLrunzip(void) -{ - static int tested = 0, value = 0; - if (!tested) { - tested = 1; - if (systemf("lrunzip -V %s", redirectArgs) == 0) - value = 1; - } - return (value); -} - /* * Can this platform run the lunzip program? */ diff --git a/cpio/test/test.h b/cpio/test/test.h index 88c7c2438..350eb3344 100644 --- a/cpio/test/test.h +++ b/cpio/test/test.h @@ -278,9 +278,6 @@ int canGunzip(void); /* Return true if this platform can run the "lrzip" program. */ int canLrzip(void); -/* Return true if this platform can run the "lrunzip" program. */ -int canLrunzip(void); - /* Return true if this platform can run the "lunzip" program. */ int canLunzip(void); diff --git a/libarchive/test/main.c b/libarchive/test/main.c index f9db14437..8ad8a782f 100644 --- a/libarchive/test/main.c +++ b/libarchive/test/main.c @@ -1900,21 +1900,6 @@ canLrzip(void) return (value); } -/* - * Can this platform run the lrunzip program? - */ -int -canLrunzip(void) -{ - static int tested = 0, value = 0; - if (!tested) { - tested = 1; - if (systemf("lrunzip -V %s", redirectArgs) == 0) - value = 1; - } - return (value); -} - /* * Can this platform run the lunzip program? */ diff --git a/libarchive/test/test.h b/libarchive/test/test.h index eee985df4..457346b79 100644 --- a/libarchive/test/test.h +++ b/libarchive/test/test.h @@ -278,9 +278,6 @@ int canGunzip(void); /* Return true if this platform can run the "lrzip" program. */ int canLrzip(void); -/* Return true if this platform can run the "lrunzip" program. */ -int canLrunzip(void); - /* Return true if this platform can run the "lunzip" program. */ int canLunzip(void); diff --git a/tar/test/main.c b/tar/test/main.c index 140939321..caf75e958 100644 --- a/tar/test/main.c +++ b/tar/test/main.c @@ -1902,21 +1902,6 @@ canLrzip(void) return (value); } -/* - * Can this platform run the lrunzip program? - */ -int -canLrunzip(void) -{ - static int tested = 0, value = 0; - if (!tested) { - tested = 1; - if (systemf("lrunzip -V %s", redirectArgs) == 0) - value = 1; - } - return (value); -} - /* * Can this platform run the lunzip program? */ diff --git a/tar/test/test.h b/tar/test/test.h index 05d99c2a2..e5463e1ea 100644 --- a/tar/test/test.h +++ b/tar/test/test.h @@ -280,9 +280,6 @@ int canGunzip(void); /* Return true if this platform can run the "lrzip" program. */ int canLrzip(void); -/* Return true if this platform can run the "lrunzip" program. */ -int canLrunzip(void); - /* Return true if this platform can run the "lunzip" program. */ int canLunzip(void); diff --git a/tar/test/test_extract_tar_lrz.c b/tar/test/test_extract_tar_lrz.c index e08845f7f..dd38d7f74 100644 --- a/tar/test/test_extract_tar_lrz.c +++ b/tar/test/test_extract_tar_lrz.c @@ -32,7 +32,7 @@ DEFINE_TEST(test_extract_tar_lrz) extract_reference_file(reffile); f = systemf("%s -tf %s >test.out 2>test.err", testprog, reffile); - if (f == 0 || canLrunzip()) { + if (f == 0 || canLrzip()) { assertEqualInt(0, systemf("%s -xf %s >test.out 2>test.err", testprog, reffile));