cosmopolitan/third_party/unzip
Justine Tunney a6baba1b07
Stop using .com extension in monorepo
The WIN32 CreateProcess() function does not require an .exe or .com
suffix in order to spawn an executable. Now that we have Cosmo bash
we're no longer so dependent on the cmd.exe prompt.
2024-03-03 03:12:19 -08:00
..
unix Work around Landlock output inode in compile.com 2022-08-09 07:55:44 -07:00
api.c Reduce header complexity 2023-11-28 14:39:42 -08:00
apihelp.c Reduce header complexity 2023-11-28 14:39:42 -08:00
BUILD.mk Stop using .com extension in monorepo 2024-03-03 03:12:19 -08:00
consts.h Reduce header complexity 2023-11-28 14:39:42 -08:00
crc32.c Reduce header complexity 2023-11-28 14:39:42 -08:00
crc32.h Reduce header complexity 2023-11-28 14:39:42 -08:00
crypt.c Reduce header complexity 2023-11-28 14:39:42 -08:00
crypt.h Reduce header complexity 2023-11-28 14:39:42 -08:00
ebcdic.h Reduce header complexity 2023-11-28 14:39:42 -08:00
envargs.c Reduce header complexity 2023-11-28 14:39:42 -08:00
explode.c Reduce header complexity 2023-11-28 14:39:42 -08:00
extract.c Reduce header complexity 2023-11-28 14:39:42 -08:00
fileio.c Reduce header complexity 2023-11-28 14:39:42 -08:00
globals.c Reduce header complexity 2023-11-28 14:39:42 -08:00
globals.h Reduce header complexity 2023-11-28 14:39:42 -08:00
inflate.c Reduce header complexity 2023-11-28 14:39:42 -08:00
inflate.h Reduce header complexity 2023-11-28 14:39:42 -08:00
LICENSE Add Info-ZIP unzip.com 2022-06-10 05:09:11 -07:00
list.c Reduce header complexity 2023-11-28 14:39:42 -08:00
match.c Reduce header complexity 2023-11-28 14:39:42 -08:00
process.c Reduce header complexity 2023-11-28 14:39:42 -08:00
README.cosmo Reduce header complexity 2023-11-28 14:39:42 -08:00
timezone.c Reduce header complexity 2023-11-28 14:39:42 -08:00
timezone.h Reduce header complexity 2023-11-28 14:39:42 -08:00
ttyio.c Reduce header complexity 2023-11-28 14:39:42 -08:00
ttyio.h Reduce header complexity 2023-11-28 14:39:42 -08:00
ubz2err.c Reduce header complexity 2023-11-28 14:39:42 -08:00
unix.c Reduce header complexity 2023-11-28 14:39:42 -08:00
unreduce.c Reduce header complexity 2023-11-28 14:39:42 -08:00
unshrink.c Reduce header complexity 2023-11-28 14:39:42 -08:00
unxcfg.h Reduce header complexity 2023-11-28 14:39:42 -08:00
unzip.c Bring back gc() function 2024-01-08 10:26:28 -08:00
unzip.h Reduce header complexity 2023-11-28 14:39:42 -08:00
unzip.txt Add Info-ZIP unzip.com 2022-06-10 05:09:11 -07:00
unzpriv.h Reduce header complexity 2023-11-28 14:39:42 -08:00
unzvers.h Reduce header complexity 2023-11-28 14:39:42 -08:00
zip.h Reduce header complexity 2023-11-28 14:39:42 -08:00
zipinfo.c Reduce header complexity 2023-11-28 14:39:42 -08:00
zipinfo.txt Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00

DESCRIPTION

  The UNIX unzip command, courtesy of the Info-ZIP project.

PROVENANCE

  unzip610b.zip (circa 2010)
  https://sourceforge.net/projects/infozip/files/unreleased%20Betas/UnZip%20betas/

LICENSE

  BSD-like with Apache-like requirement that changes be documented.

LOCAL CHANGES

  The only way this software differs from the normal InfoZIP sources is
  that we're linking the Cosmopolitan C Library, which enables it to be
  built as an Actually Portable Executable.

  Minor changes include:

  - Normalization of header / build config for platform / repository
    sed -i -e '/# *include  *<.*/d'  *.*
    sed -i -e 's!# *include  *"!#include "third_party/unzip/!' *.*

  - Fixed a lot of static analysis buffer overflow warnings.