mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-26 07:49:05 +00:00
- 10.5% reduction of o//depend dependency graph - 8.8% reduction in latency of make command - Fix issue with temporary file cleanup There's a new -w option in compile.com that turns off the recent Landlock output path workaround for "good commands" which do not unlink() the output file like GNU tooling does. Our new GNU Make unveil sandboxing appears to have zero overhead in the grand scheme of things. Full builds are pretty fast since the only thing that's actually slowed us down is probably libcxx make -j16 MODE=rel RL: took 85,732,063µs wall time RL: ballooned to 323,612kb in size RL: needed 828,560,521µs cpu (11% kernel) RL: caused 39,080,670 page faults (99% memcpy) RL: 350,073 context switches (72% consensual) RL: performed 0 reads and 11,494,960 write i/o operations pledge() and unveil() no longer consider ENOSYS to be an error. These functions have also been added to Python's cosmo module. This change also removes some WIN32 APIs and System Five magnums which we're not using and it's doubtful anyone else would be too |
||
---|---|---|
.. | ||
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.