Closed benoit-pierre closed 2 weeks ago
MuPDF would fail to open some ZIPs:
MuPDF cannot open file.: cannot find end of central directory (7)
Make sure all code is compiled with -U_FILE_OFFSET_BITS -D_FILE_OFFSET_BITS=32.
-U_FILE_OFFSET_BITS -D_FILE_OFFSET_BITS=32
NOTE: the initial -U_FILE_OFFSET_BITS is for meson external projects (cf. https://github.com/mesonbuild/meson/issues/3519).
-U_FILE_OFFSET_BITS
This change is
MuPDF would fail to open some ZIPs:
Make sure all code is compiled with
-U_FILE_OFFSET_BITS -D_FILE_OFFSET_BITS=32
.NOTE: the initial
-U_FILE_OFFSET_BITS
is for meson external projects (cf. https://github.com/mesonbuild/meson/issues/3519).This change is