mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
b41f91c658
The cosmopolitan command interpreter now has 13 builtin commands, variable support, support for ; / && / || syntax, asynchronous support, and plenty of unit tests with bug fixes. This change fixes a bug in posix_spawn() with null envp arg. strace logging now uses atomic writes for scatter functions. Breaking change renaming GetCpuCount() to _getcpucount(). TurfWar is now updated to use the new token bucket algorithm. WIN32 affinity masks now inherit across fork() and execve(). |
||
---|---|---|
.. | ||
unix | ||
api.c | ||
apihelp.c | ||
consts.h | ||
crc32.c | ||
crc32.h | ||
crypt.c | ||
crypt.h | ||
ebcdic.h | ||
envargs.c | ||
explode.c | ||
extract.c | ||
fileio.c | ||
globals.c | ||
globals.h | ||
inflate.c | ||
inflate.h | ||
LICENSE | ||
list.c | ||
match.c | ||
process.c | ||
README.cosmo | ||
timezone.c | ||
timezone.h | ||
ttyio.c | ||
ttyio.h | ||
ubz2err.c | ||
unix.c | ||
unreduce.c | ||
unshrink.c | ||
unxcfg.h | ||
unzip.c | ||
unzip.h | ||
unzip.mk | ||
unzip.txt | ||
unzpriv.h | ||
unzvers.h | ||
zip.h | ||
zipinfo.c | ||
zipinfo.txt |
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/!' *.* sed -i -e '1 i\// clang-format off' *.c *.h - Fixed a lot of static analysis buffer overflow warnings.