wallscavesurvey / walls

Walls cave survey software
https://www.texasspeleologicalsurvey.org/software/walls/tsswalls.php
17 stars 10 forks source link

exported .zip files are not compatible with Windows #4

Closed jedwards1211 closed 6 years ago

jedwards1211 commented 6 years ago

For whatever, reason, .zip files exported by Walls (File > Create/Send project ZIP file...) don't open correctly on Windows; most of the files in the archive don't show up in Windows, even though all of the files extract correctly on MacOS.

This comment from Walls32/zip.cpp doesn't exactly inspire confidence:

// THIS FILE is almost entirely based upon code by info-zip.
// It has been modified by Lucian Wischik. The modifications
// were a complete rewrite of the bit of code that generates the
// layout of the zipfile, and support for zipping to/from memory
// or handles or pipes or pagefile or diskfiles, encryption, unicode.
// The original code may be found at http://www.info-zip.org
// The original copyright text follows.

So my plan is to replace it with the latest official InfoZIP code.

jedwards1211 commented 6 years ago

Actually, it turns out that the problem was it was adding files to the zip with non-canonical paths (e.g. oaxaca_walls\..\blahblah) and canonicalizing the paths fixed the problem.