cosmopolitan/third_party/unzip
Justine Tunney fa20edc44d
Reduce header complexity
- Remove most __ASSEMBLER__ __LINKER__ ifdefs
- Rename libc/intrin/bits.h to libc/serialize.h
- Block pthread cancelation in fchmodat() polyfill
- Remove `clang-format off` statements in third_party
2023-11-28 14:39:42 -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 Rename makefiles BUILD.mk 2023-11-28 11:21:08 -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 Reduce header complexity 2023-11-28 14:39:42 -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.