Subject: | IO-Compress/t/050interop-gzip.t: Use android-compatible flags when calling gzip |
On some android devices/versions, gzip won't take compound flags ala '-dc', but it'll happily accept them separately.
(I filed similar reports for other modules using gzip, like Archive::Extract)
@@ -48,7 +48,7 @@ sub readWithGzip
my $lex = new LexFile my $outfile;
- my $comp = "$GZIP -dc" ;
+ my $comp = "$GZIP -d -c" ;
if ( system("$comp $file >$outfile") == 0 )
{