]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Fix comments on gunzip.
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Sat, 6 Oct 2012 06:46:42 +0000 (15:46 +0900)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Sat, 6 Oct 2012 06:57:35 +0000 (15:57 +0900)
libarchive/archive_read_support_filter_all.c
libarchive/archive_read_support_filter_gzip.c

index a059df8ef71ecacd670e8f2a9fac9a361f363ac3..6375332880fc6617aa01a05923970d9d4ab0310d 100644 (file)
@@ -48,7 +48,7 @@ archive_read_support_filter_all(struct archive *a)
        archive_read_support_filter_bzip2(a);
        /* The decompress code doesn't use an outside library. */
        archive_read_support_filter_compress(a);
-       /* Gzip decompress falls back to "gunzip" command-line. */
+       /* Gzip decompress falls back to "gzip -d" command-line. */
        archive_read_support_filter_gzip(a);
        /* Lzip falls back to "unlzip" command-line program. */
        archive_read_support_filter_lzip(a);
@@ -63,7 +63,7 @@ archive_read_support_filter_all(struct archive *a)
        archive_read_support_filter_uu(a);
        /* The decode code doesn't use an outside library. */
        archive_read_support_filter_rpm(a);
-       /* The decode code doesn't use an outside library. */
+       /* The decode code always uses "lrzip -d" command-line. */
        archive_read_support_filter_lrzip(a);
 
        /* Note: We always return ARCHIVE_OK here, even if some of the
index 4cbdb037456b69cbb674ba71ba23c2dc3ccc1f74..b98ccf6f97e108b56002899d4aea25c0924b92d2 100644 (file)
@@ -72,7 +72,7 @@ static int    gzip_filter_close(struct archive_read_filter *);
  *
  * TODO: If zlib is unavailable, gzip_bidder_init() should
  * use the compress_program framework to try to fire up an external
- * gunzip program.
+ * gzip program.
  */
 static int     gzip_bidder_bid(struct archive_read_filter_bidder *,
                    struct archive_read_filter *);
@@ -109,7 +109,7 @@ archive_read_support_filter_gzip(struct archive *_a)
        return (ARCHIVE_OK);
 #else
        archive_set_error(_a, ARCHIVE_ERRNO_MISC,
-           "Using external gunzip program");
+           "Using external gzip program");
        return (ARCHIVE_WARN);
 #endif
 }
@@ -223,7 +223,7 @@ gzip_bidder_bid(struct archive_read_filter_bidder *self,
 
 /*
  * If we don't have the library on this system, we can't do the
- * decompression directly.  We can, however, try to run gunzip
+ * decompression directly.  We can, however, try to run "gzip -d"
  * in case that's available.
  */
 static int