Change InfoZIP to not auto-append .zip to pathname

This commit is contained in:
Justine Tunney 2024-08-17 06:44:51 -07:00
parent 77be460290
commit eb6e96f036
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
2 changed files with 5 additions and 0 deletions

View file

@ -11,4 +11,5 @@ ORIGIN
LOCAL CHANGES
- Use Cosmopolitan's PCLMUL optimized CRC32
- Don't magically append .zip extension to filename argument
- Improve find_next_signature() performance using unlocked stdio

View file

@ -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