mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-03 09:48:29 +00:00
Change InfoZIP to not auto-append .zip to pathname
This commit is contained in:
parent
77be460290
commit
eb6e96f036
2 changed files with 5 additions and 0 deletions
4
third_party/zip/zipfile.c
vendored
4
third_party/zip/zipfile.c
vendored
|
@ -413,6 +413,10 @@ char *ziptyp(s)
|
|||
if ((t = malloc(strlen(s) + 5)) == NULL)
|
||||
return NULL;
|
||||
strcpy(t, s);
|
||||
|
||||
// [jart] don't magically append .zip extension to filename argument
|
||||
if (1) return t;
|
||||
|
||||
# ifdef __human68k__
|
||||
_toslash(t);
|
||||
# endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue