mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
6ffed14b9c
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. |
||
---|---|---|
.. | ||
api.h | ||
BUILD.mk | ||
crc32.c | ||
crc32.h | ||
crypt.c | ||
crypt.h | ||
crypt_.c | ||
deflate.c | ||
fileio.c | ||
fileio_.c | ||
globals.c | ||
LICENSE | ||
osdep.h | ||
README.cosmo | ||
revision.h | ||
tailor.h | ||
timezone.c | ||
timezone.h | ||
trees.c | ||
ttyio.c | ||
ttyio.h | ||
unix.c | ||
unix_.c | ||
util.c | ||
util_.c | ||
zbz2err.c | ||
zip.c | ||
zip.h | ||
zipcloak.c | ||
ziperr.h | ||
zipfile.c | ||
zipfile_.c | ||
zipnote.c | ||
zipsplit.c | ||
zipup.c | ||
zipup.h |
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