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

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