| Description: |
Due to the behaviour of the zlib core cmd documented by
http://core.tcl.tk/tcl/tktview/25842c161fd621d8d111430a3637688f55aeaa94 the tcllib cmd zipfile:mkzip::mkzip may raise error, depending on the data to process. (In fact, I got bitten by this in the wild.)
Even if the zlib behaviour is changed to do nothing, gracefully in this case (which seems sensible for me) the mkzip cmd code should protect against this for tcllib compatibility with older 8.6 versions.
The fix should be obviously: Check for zero length input to [$zlib put] in proc ::zipfile::mkzip::add_file_to_archive
|