On 07/10/10 15:27, Sergey Poznyakoff wrote:

>  ./configure --with-compress=gzip

Hmm, but that will cause 'tar' to fail when creating .Z files, right?
Also, it's awkward to have to remember to do that.

How about the following patch instead?

By the way, while investigating this I noticed a function name that is
consistently misspelled: set_comression_program_by_suffix

--- buffer.c    2010-07-12 11:18:40.291135659 -0700
+++ /tmp/buffer.c       2010-07-12 11:36:42.175140769 -0700
@@ -394,6 +394,12 @@ open_compressed_archive (void)
                return archive;
               break;
 
+           case ct_compress:
+             /* Use gzip to decompress, since it supports this format
+                and is more likely to be installed.  */
+             use_compress_program_option = compress_program (ct_gzip);
+             break;
+
             default:
               use_compress_program_option = compress_program (type);
               break;


Reply via email to