cosmopolitan/tool/build
Justine Tunney ff77f2a6af
Make improvements
- This change fixes a bug that allowed unbuffered printf() output (to
  streams like stderr) to be truncated. This regression was introduced
  some time between now and the last release.

- POSIX specifies all functions as thread safe by default. This change
  works towards cleaning up our use of the @threadsafe / @threadunsafe
  documentation annotations to reflect that. The goal is (1) to use
  @threadunsafe to document functions which POSIX say needn't be thread
  safe, and (2) use @threadsafe to document functions that we chose to
  implement as thread safe even though POSIX didn't mandate it.

- Tidy up the clock_gettime() implementation. We're now trying out a
  cleaner approach to system call support that aims to maintain the
  Linux errno convention as long as possible. This also fixes bugs that
  existed previously, where the vDSO errno wasn't being translated
  properly. The gettimeofday() system call is now a wrapper for
  clock_gettime(), which reduces bloat in apps that use both.

- The recently-introduced improvements to the execute bit on Windows has
  had bugs fixed. access(X_OK) on a directory on Windows now succeeds.
  fstat() will now perform the MZ/#! ReadFile() operation correctly.

- Windows.h is no longer included in libc/isystem/, because it confused
  PCRE's build system into thinking Cosmopolitan is a WIN32 platform.
  Cosmo's Windows.h polyfill was never even really that good, since it
  only defines a subset of the subset of WIN32 APIs that Cosmo defines.

- The setlongerjmp() / longerjmp() APIs are removed. While they're nice
  APIs that are superior to the standardized setjmp / longjmp functions,
  they weren't superior enough to not be dead code in the monorepo. If
  you use these APIs, please file an issue and they'll be restored.

- The .com appending magic has now been removed from APE Loader.
2023-10-03 06:17:16 -07:00
..
dso Fix warnings 2023-09-01 20:50:18 -07:00
lib Make improvements 2023-10-03 06:17:16 -07:00
apelink.c Make improvements 2023-09-06 22:48:05 -07:00
ar.c Fix warnings 2023-09-01 20:50:18 -07:00
assimilate.c Fix warnings 2023-09-01 20:50:18 -07:00
bigmul.c Fix warnings 2023-09-01 20:50:18 -07:00
build.mk Make improvements 2023-09-18 21:04:47 -07:00
chmod.c Fix warnings 2023-09-01 20:50:18 -07:00
cocmd.c Mint APE Loader v1.5 2023-07-26 13:54:49 -07:00
compile.c Make improvements 2023-09-18 21:04:47 -07:00
cp.c Make improvements 2023-09-06 12:34:59 -07:00
dd.c Reconfigure GitHub Actions 2023-07-10 12:17:18 -07:00
dropcache.c Change license 2020-12-27 17:18:44 -08:00
echo.c Overhaul process spawning 2023-09-10 08:17:44 -07:00
elf2pe.c Make improvements 2023-09-18 21:04:47 -07:00
elf2pe.h Introduce new linker for fat ape binaries 2023-08-11 04:39:19 -07:00
false.c Fix hermeticity issue with new test 2023-04-18 06:37:01 -07:00
fastdiff.c Fix warnings 2023-09-01 20:50:18 -07:00
fixupobj.c Fix warnings 2023-09-01 20:50:18 -07:00
freebsd2sysv.c Refactor fatcosmocc into a single file 2023-08-14 22:26:17 -07:00
gzip.c Make improvements 2023-09-06 12:34:59 -07:00
helpop.c Replace COSMO define with _COSMO_SOURCE 2023-08-13 20:55:04 -07:00
lz4toasm.c Fix warnings 2023-09-01 20:50:18 -07:00
march-native.c Fix warnings 2023-09-01 20:50:18 -07:00
mkdeps.c Make improvements 2023-09-06 12:34:59 -07:00
mkdir.c Remove some dead code 2023-07-03 02:48:29 -07:00
mktemper.c Fix bug with temporary files on Windows 2023-08-13 07:10:33 -07:00
mv.c Make improvements 2023-09-06 12:34:59 -07:00
objbincopy.c Fix warnings 2023-09-01 20:50:18 -07:00
package.c Fix warnings 2023-09-01 20:50:18 -07:00
pecheck.c Fix the build 2023-08-11 09:49:39 -07:00
pledge.c Make improvements 2023-09-06 12:34:59 -07:00
printf.c Remove some dead code 2023-07-03 02:48:29 -07:00
pwd.c Make improvements 2023-09-06 12:34:59 -07:00
rm.c Remove old stack code and improve dirstream 2023-08-16 07:54:40 -07:00
rollup.c Remove IMAGE_BASE_VIRTUAL 2023-09-12 01:21:36 -07:00
runit.c Make improvements 2023-09-21 07:30:39 -07:00
runit.h Fix bugs and add security features to redbean 2022-04-18 00:01:26 -07:00
runitd.c Make improvements 2023-09-21 07:30:39 -07:00
sha256sum.c Make improvements 2023-09-06 12:34:59 -07:00
summy.c Unbloat the build 2022-08-11 00:15:29 -07:00
symtab.c Switch public headers to getopt_long() entirely 2023-07-02 19:57:43 -07:00
touch.c Remove some dead code 2023-07-03 02:48:29 -07:00
unbuffer.c Make improvements 2023-09-06 12:34:59 -07:00
unbundle.c Make improvements 2023-09-06 12:34:59 -07:00
unveil.c Make improvements 2023-09-06 12:34:59 -07:00
zipcopy.c Fix warnings 2023-09-01 20:50:18 -07:00
zipobj.c Make improvements 2023-09-18 21:04:47 -07:00