mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-17 01:52:29 +00:00
Make ZipOS and Qemu work better
This change improves the dirstream library in a lot of respects, especially for /zip/... files. Also turn off MAP_STACK on Aarch64 because Qemu seems to implement it differently than Linux and it's probably responsible for a lot of mysterious crashes.
This commit is contained in:
parent
4658ae539f
commit
110559ce6a
48 changed files with 748 additions and 500 deletions
2
third_party/unzip/process.c
vendored
2
third_party/unzip/process.c
vendored
|
@ -1330,7 +1330,7 @@ static int find_ecrec64(__G__ searchlen) /* return PK-class error */
|
|||
if (memcmp((char *)byterec, end_central64_sig, 4) ) {
|
||||
/* Zip64 EOCD Record not found */
|
||||
/* Since we already have seen the Zip64 EOCD Locator, it's
|
||||
possible we got here because there are bytes prepended
|
||||
possible we got h-ere because there are bytes prepended
|
||||
to the archive, like the sfx prefix. */
|
||||
|
||||
/* Make a guess as to where the Zip64 EOCD Record might be */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue