]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Make external programs lzip, lzma and xz be quiet when reading
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Sun, 14 Oct 2012 05:26:05 +0000 (14:26 +0900)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Sun, 14 Oct 2012 05:26:05 +0000 (14:26 +0900)
corrupted compressed data.

libarchive/archive_read_support_filter_xz.c

index 95853ade36956fab818b9a9ed1f4c2cbebd004cb..c3c00fc9edb1f51ca8f7dedc392d7c76cd987525 100644 (file)
@@ -941,7 +941,7 @@ lzma_bidder_init(struct archive_read_filter *self)
 {
        int r;
 
-       r = __archive_read_program(self, "lzma -d");
+       r = __archive_read_program(self, "lzma -d -qq");
        /* Note: We set the format here even if __archive_read_program()
         * above fails.  We do, after all, know what the format is
         * even if we weren't able to read it. */
@@ -958,7 +958,7 @@ xz_bidder_init(struct archive_read_filter *self)
 {
        int r;
 
-       r = __archive_read_program(self, "xz -d");
+       r = __archive_read_program(self, "xz -d -qq");
        /* Note: We set the format here even if __archive_read_program()
         * above fails.  We do, after all, know what the format is
         * even if we weren't able to read it. */
@@ -972,7 +972,7 @@ lzip_bidder_init(struct archive_read_filter *self)
 {
        int r;
 
-       r = __archive_read_program(self, "lzip -d");
+       r = __archive_read_program(self, "lzip -d -q");
        /* Note: We set the format here even if __archive_read_program()
         * above fails.  We do, after all, know what the format is
         * even if we weren't able to read it. */