List Archive

Thread

Thread Index

Message

From: Andreas Falkenhahn <andreas%falkenhahn.com@localhost>
To: libzip mailing list <libzip-discuss%nih.at@localhost>
Subject: zip_set_file_compression() default compression level
Date: Sat, 11 Nov 2017 14:46:26 +0100

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.

-- 
Best regards,
 Andreas Falkenhahn                          
mailto:andreas%falkenhahn.com@localhost

Made by MHonArc.