]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
lrunzip is no longer used.
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Sat, 6 Oct 2012 07:01:09 +0000 (16:01 +0900)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Sat, 6 Oct 2012 07:01:09 +0000 (16:01 +0900)
cpio/test/main.c
cpio/test/test.h
libarchive/test/main.c
libarchive/test/test.h
tar/test/main.c
tar/test/test.h
tar/test/test_extract_tar_lrz.c

index ac03475297973db6f597f7c260966674e0509beb..36867725a6ac5f5c5333ece939707d1b73b2f183 100644 (file)
@@ -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?
  */
index 88c7c243811efed8c044f3730e5d726b6af5a88b..350eb33447f5f9f468cd0c0e7d0e116ec05c00af 100644 (file)
@@ -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);
 
index f9db144377e8cfe0e03aa7c7fdb06ce527a7c2f5..8ad8a782f9f93a0dedb4506c2f8b351e2105bdf5 100644 (file)
@@ -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?
  */
index eee985df4c1b408d041e74126344add766812099..457346b795d5f724abd65db3ea6052a6f35ce7a9 100644 (file)
@@ -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);
 
index 140939321f2e07d4f303e9b1883d7a104316dbf3..caf75e9584dd373557a40c4e8ea42b88cf564ed4 100644 (file)
@@ -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?
  */
index 05d99c2a248bb68a23a43abf892a71899b20ee12..e5463e1ea2b41448e1dd161f8c2806a19ec6b95f 100644 (file)
@@ -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);
 
index e08845f7fe52cb2cb05eb2fc97053d5ae965ac05..dd38d7f74ed98bf2e4714c75ee64dfd25d0212c9 100644 (file)
@@ -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));