List Archive

Thread

Thread Index

Message

From: Thomas Klausner <tk%giga.or.at@localhost>
To: Andreas Falkenhahn <andreas%falkenhahn.com@localhost>
Subject: Re: zip_set_file_compression() default compression level
Date: Mon, 13 Nov 2017 23:37:21 +0100

On Sat, Nov 11, 2017 at 02:46:26PM +0100, Andreas Falkenhahn wrote:
> I think the manpage of zip_set_file_compression() level should mention
> that it's possible to pass 0 in the flags parameter to use the default
> compression level for the respective method. With deflate 0 seems to
> be mapped to Z_BEST_COMPRESSION and with bzip2 0 seems to be mapped to
> 9. 
> 
> Currently, the manpage of zip_set_file_compression() says that
> "Allowed values are 1-9, other values are undefined". It should mention
> that it's also possible to pass 0 to use the compressor's default
> compression level.

I've added documentation for '0' to the man page. Thank you!
 Thomas

Made by MHonArc.