]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Place canGrzip before canGzip.
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Wed, 10 Oct 2012 02:19:20 +0000 (11:19 +0900)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Wed, 10 Oct 2012 02:19:20 +0000 (11:19 +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

index 1eb15ac10e0f69502a8b61095c01cb4adb94c8ac..33b295cc3bd6cf07d4bb7a9eb2e3711f0b0687b4 100644 (file)
@@ -1858,45 +1858,45 @@ canBunzip2(void)
 }
 
 /*
- * Can this platform run the gzip program?
+ * Can this platform run the grzip program?
  */
 int
-canGzip(void)
+canGrzip(void)
 {
        static int tested = 0, value = 0;
        if (!tested) {
                tested = 1;
-               if (systemf("gzip -V %s", redirectArgs) == 0)
+               if (systemf("grzip -V %s", redirectArgs) == 0)
                        value = 1;
        }
        return (value);
 }
 
 /*
- * Can this platform run the gunzip program?
+ * Can this platform run the gzip program?
  */
 int
-canGunzip(void)
+canGzip(void)
 {
        static int tested = 0, value = 0;
        if (!tested) {
                tested = 1;
-               if (systemf("gunzip -V %s", redirectArgs) == 0)
+               if (systemf("gzip -V %s", redirectArgs) == 0)
                        value = 1;
        }
        return (value);
 }
 
 /*
- * Can this platform run the grzip program?
+ * Can this platform run the gunzip program?
  */
 int
-canGrzip(void)
+canGunzip(void)
 {
        static int tested = 0, value = 0;
        if (!tested) {
                tested = 1;
-               if (systemf("grzip -V %s", redirectArgs) == 0)
+               if (systemf("gunzip -V %s", redirectArgs) == 0)
                        value = 1;
        }
        return (value);
index e218a155f8568e9b6894f825e2a169e70aa84669..3eb0e7bc9f320d79a8b93c20a32f403296a20052 100644 (file)
@@ -269,15 +269,15 @@ int canSymlink(void);
 /* Return true if this platform can run the "bunzip2" program. */
 int canBunzip2(void);
 
+/* Return true if this platform can run the "grzip" program. */
+int canGrzip(void);
+
 /* Return true if this platform can run the "gzip" program. */
 int canGzip(void);
 
 /* Return true if this platform can run the "gunzip" program. */
 int canGunzip(void);
 
-/* Return true if this platform can run the "grzip" program. */
-int canGrzip(void);
-
 /* Return true if this platform can run the "lrzip" program. */
 int canLrzip(void);
 
index ac77c7d58ec0c690cfc1ab7b0aeea00ac3322727..10cef52657d674a4876ceb9fa32909b4f3f4842a 100644 (file)
@@ -1856,45 +1856,45 @@ canBunzip2(void)
 }
 
 /*
- * Can this platform run the gzip program?
+ * Can this platform run the grzip program?
  */
 int
-canGzip(void)
+canGrzip(void)
 {
        static int tested = 0, value = 0;
        if (!tested) {
                tested = 1;
-               if (systemf("gzip -V %s", redirectArgs) == 0)
+               if (systemf("grzip -V %s", redirectArgs) == 0)
                        value = 1;
        }
        return (value);
 }
 
 /*
- * Can this platform run the gunzip program?
+ * Can this platform run the gzip program?
  */
 int
-canGunzip(void)
+canGzip(void)
 {
        static int tested = 0, value = 0;
        if (!tested) {
                tested = 1;
-               if (systemf("gunzip -V %s", redirectArgs) == 0)
+               if (systemf("gzip -V %s", redirectArgs) == 0)
                        value = 1;
        }
        return (value);
 }
 
 /*
- * Can this platform run the grzip program?
+ * Can this platform run the gunzip program?
  */
 int
-canGrzip(void)
+canGunzip(void)
 {
        static int tested = 0, value = 0;
        if (!tested) {
                tested = 1;
-               if (systemf("grzip -V %s", redirectArgs) == 0)
+               if (systemf("gunzip -V %s", redirectArgs) == 0)
                        value = 1;
        }
        return (value);
index 22942861e05151f01743135e225e49b030b719d5..d8a21b063f8e5860ab487c34fcc04924a28a3886 100644 (file)
@@ -269,15 +269,15 @@ int canSymlink(void);
 /* Return true if this platform can run the "bunzip2" program. */
 int canBunzip2(void);
 
+/* Return true if this platform can run the "grzip" program. */
+int canGrzip(void);
+
 /* Return true if this platform can run the "gzip" program. */
 int canGzip(void);
 
 /* Return true if this platform can run the "gunzip" program. */
 int canGunzip(void);
 
-/* Return true if this platform can run the "grzip" program. */
-int canGrzip(void);
-
 /* Return true if this platform can run the "lrzip" program. */
 int canLrzip(void);
 
index ccf83ba20c2bf7c9d56ab8bdb7206f5bdd9a0e9c..620eb3975e2da21ac960e35ba2bfa48151044a27 100644 (file)
@@ -1858,45 +1858,45 @@ canBunzip2(void)
 }
 
 /*
- * Can this platform run the gzip program?
+ * Can this platform run the grzip program?
  */
 int
-canGzip(void)
+canGrzip(void)
 {
        static int tested = 0, value = 0;
        if (!tested) {
                tested = 1;
-               if (systemf("gzip -V %s", redirectArgs) == 0)
+               if (systemf("grzip -V %s", redirectArgs) == 0)
                        value = 1;
        }
        return (value);
 }
 
 /*
- * Can this platform run the gunzip program?
+ * Can this platform run the gzip program?
  */
 int
-canGunzip(void)
+canGzip(void)
 {
        static int tested = 0, value = 0;
        if (!tested) {
                tested = 1;
-               if (systemf("gunzip -V %s", redirectArgs) == 0)
+               if (systemf("gzip -V %s", redirectArgs) == 0)
                        value = 1;
        }
        return (value);
 }
 
 /*
- * Can this platform run the grzip program?
+ * Can this platform run the gunzip program?
  */
 int
-canGrzip(void)
+canGunzip(void)
 {
        static int tested = 0, value = 0;
        if (!tested) {
                tested = 1;
-               if (systemf("grzip -V %s", redirectArgs) == 0)
+               if (systemf("gunzip -V %s", redirectArgs) == 0)
                        value = 1;
        }
        return (value);
index 36ff42e08df2a5236caf3c9df112639a8641768c..d27e868d05b0920ee5cfd055ccf88fe651355bad 100644 (file)
@@ -271,15 +271,15 @@ int canSymlink(void);
 /* Return true if this platform can run the "bunzip2" program. */
 int canBunzip2(void);
 
+/* Return true if this platform can run the "grzip" program. */
+int canGrzip(void);
+
 /* Return true if this platform can run the "gzip" program. */
 int canGzip(void);
 
 /* Return true if this platform can run the "gunzip" program. */
 int canGunzip(void);
 
-/* Return true if this platform can run the "grzip" program. */
-int canGrzip(void);
-
 /* Return true if this platform can run the "lrzip" program. */
 int canLrzip(void);