Zip64 write support; zipcmp -p compares comments.
diff --git a/lib/zip_source_crc.c b/lib/zip_source_crc.c index 59e8a19..d8cc6ce 100644 --- a/lib/zip_source_crc.c +++ b/lib/zip_source_crc.c
@@ -139,7 +139,10 @@ After all, this only works for uncompressed data. */ st->size = ctx->size; st->crc = ctx->crc; - st->valid |= ZIP_STAT_SIZE|ZIP_STAT_CRC; + st->comp_size = ctx->size; + st->comp_method = ZIP_CM_STORE; + st->encryption_method = ZIP_EM_NONE; + st->valid |= ZIP_STAT_SIZE|ZIP_STAT_CRC|ZIP_STAT_COMP_SIZE|ZIP_STAT_COMP_METHOD|ZIP_STAT_ENCRYPTION_METHOD;; } } return 0;