cosmopolitan/third_party/zip
Justine Tunney 6ffed14b9c
Rewrite memory manager
Actually Portable Executable now supports Android. Cosmo's old mmap code
required a 47 bit address space. The new implementation is very agnostic
and supports both smaller address spaces (e.g. embedded) and even modern
56-bit PML5T paging for x86 which finally came true on Zen4 Threadripper

Cosmopolitan no longer requires UNIX systems to observe the Windows 64kb
granularity; i.e. sysconf(_SC_PAGE_SIZE) will now report the host native
page size. This fixes a longstanding POSIX conformance issue, concerning
file mappings that overlap the end of file. Other aspects of conformance
have been improved too, such as the subtleties of address assignment and
and the various subtleties surrounding MAP_FIXED and MAP_FIXED_NOREPLACE

On Windows, mappings larger than 100 megabytes won't be broken down into
thousands of independent 64kb mappings. Support for MAP_STACK is removed
by this change; please use NewCosmoStack() instead.

Stack overflow avoidance is now being implemented using the POSIX thread
APIs. Please use GetStackBottom() and GetStackAddr(), instead of the old
error-prone GetStackAddr() and HaveStackMemory() APIs which are removed.
2024-06-22 05:45:11 -07:00
..
api.h Reduce header complexity 2023-11-28 14:39:42 -08:00
BUILD.mk Implement proper time zone support 2024-05-04 23:06:37 -07:00
crc32.c Reduce header complexity 2023-11-28 14:39:42 -08:00
crc32.h Revert "Remove zlib namespacing (#1142)" 2024-05-14 20:45:23 -07:00
crypt.c Implement proper time zone support 2024-05-04 23:06:37 -07:00
crypt.h Reduce header complexity 2023-11-28 14:39:42 -08:00
crypt_.c Remove plenty of makefile misconfigurations 2022-07-21 09:20:59 -07:00
deflate.c Reduce header complexity 2023-11-28 14:39:42 -08:00
fileio.c Implement proper time zone support 2024-05-04 23:06:37 -07:00
fileio_.c Remove plenty of makefile misconfigurations 2022-07-21 09:20:59 -07:00
globals.c Reduce header complexity 2023-11-28 14:39:42 -08:00
LICENSE Flatten InfoZIP directory and fix build issues 2022-04-20 22:40:33 -07:00
osdep.h Implement proper time zone support 2024-05-04 23:06:37 -07:00
README.cosmo Reimport zip into third party 2022-10-16 13:39:41 -07:00
revision.h Reduce header complexity 2023-11-28 14:39:42 -08:00
tailor.h Implement proper time zone support 2024-05-04 23:06:37 -07: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
trees.c 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
unix.c Implement proper time zone support 2024-05-04 23:06:37 -07:00
unix_.c Remove plenty of makefile misconfigurations 2022-07-21 09:20:59 -07:00
util.c Reduce header complexity 2023-11-28 14:39:42 -08:00
util_.c Remove plenty of makefile misconfigurations 2022-07-21 09:20:59 -07:00
zbz2err.c Reduce header complexity 2023-11-28 14:39:42 -08:00
zip.c Implement proper time zone support 2024-05-04 23:06:37 -07:00
zip.h Reduce header complexity 2023-11-28 14:39:42 -08:00
zipcloak.c Reduce header complexity 2023-11-28 14:39:42 -08:00
ziperr.h Reduce header complexity 2023-11-28 14:39:42 -08:00
zipfile.c Revert "Remove zlib namespacing (#1142)" 2024-05-14 20:45:23 -07:00
zipfile_.c Remove plenty of makefile misconfigurations 2022-07-21 09:20:59 -07:00
zipnote.c Reduce header complexity 2023-11-28 14:39:42 -08:00
zipsplit.c Reduce header complexity 2023-11-28 14:39:42 -08:00
zipup.c Rewrite memory manager 2024-06-22 05:45:11 -07:00
zipup.h Reduce header complexity 2023-11-28 14:39:42 -08:00

DESCRIPTION

  zip utility from Info-ZIP

ORIGIN

  source code obtained as zip30.tar.gz
  http://infozip.sourceforge.net/Zip.html
  https://sourceforge.net/projects/infozip/files/

LOCAL CHANGES

  - Use Cosmopolitan's PCLMUL optimized CRC32
  - Improve find_next_signature() performance using unlocked stdio