gdraheim / zziplib

The ZZIPlib provides read access on ZIP-archives and unpacked data. It features an additional simplified API following the standard Posix API for file access
Other
62 stars 50 forks source link

Fix (part of) broken 'make check' on msys2 #35

Closed mojca closed 6 years ago

mojca commented 6 years ago

This PR consists of three patches

Please note that the wrong file name creates a segfault which is probably an unrelated bug to be handled separately.

# test/README does not exist
$ ../bins/zzcat.exe test/README
Segmentation fault
mojca commented 6 years ago

Akira Kakuto additionally pointed out that I might have missed test/test.zip.

mojca commented 6 years ago

This is probably the wrong fix. I didn't know that zzcat test/README was supposed to show README from test.zip. So something else went wrong.