Skip to content
Tcl Source Code View Ticket
Login

View Ticket

minizip for TIP #430 broken

Open5294e6feca2e6a51dea496af8d1ceb1c30d86366Created 5 years agoUpdated 5 years ago
Descriptionwiki2022-04-14 06:37:00
TIP #430: Modifications to minizip.c: minizip has been modified to be able to handle recursive directory arguments.

Since zlib-1.2.11 is now replaced by zlib-1.2.12, this modification is now lost and needs to be redone, otherwize minizip is no longer sufficient to build Tcl with --enable-zipfs

Referenced by2
jan.nijtmanswiki2022-04-14 06:39:15

Assigning to Sean Woods.

I would recommend to contribute this change to the zlib developers, so it will will be included in zlib-1.2.13

jan.nijtmanswiki2022-04-14 14:06:49

Proposed fix [here]

jan.nijtmanswiki2022-04-15 14:59:53

Fixed [here]. However, it would be nice, not having to do this patching over-and-over again with every zlib release.

My recommendation would be to start using dirent for windows in stead of tinydir.h, to make this work with Visual Studio, then on UNIX or mingw-w64 it will work out-of-the-box.

Log in (anonymous is fine) to add a comment.