cosmopolitan/ape
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
..
public Improve open source compatibility 2022-09-08 03:19:35 -07:00
aarch64.lds Remove IMAGE_BASE_VIRTUAL 2023-09-12 01:21:36 -07:00
ape-m1.c Make improvements 2023-10-03 06:17:16 -07:00
ape.h Get rid of kmalloc() 2023-09-11 21:56:00 -07:00
ape.internal.h Get aarch64 hello world working 2023-05-10 04:20:47 -07:00
ape.lds Remove IMAGE_BASE_VIRTUAL 2023-09-12 01:21:36 -07:00
ape.mk Get Fat Emacs working on Apple Silicon 2023-08-17 22:01:42 -07:00
ape.S Make improvements 2023-09-18 21:04:47 -07:00
apeinstall.sh Introduce new fatcosmocc command 2023-08-11 22:52:11 -07:00
apeuninstall.sh Introduce new fatcosmocc command 2023-08-11 22:52:11 -07:00
blink-linux-aarch64.gz Make blink support conditionally linkable into APE 2023-06-17 07:55:35 -07:00
blink-xnu-aarch64.gz Make blink support conditionally linkable into APE 2023-06-17 07:55:35 -07:00
idata.internal.h Introduce new linker for fat ape binaries 2023-08-11 04:39:19 -07:00
launch.S Mint APE Loader v1.5 2023-07-26 13:54:49 -07:00
loader-macho.S Mint APE Loader v1.3 2023-07-23 17:08:14 -07:00
loader.c Make improvements 2023-10-03 06:17:16 -07:00
loader.lds Mint APE Loader v1.3 2023-07-23 17:08:14 -07:00
macros.internal.h [metal] Fix bug: do not initialize IDT & TSS if unneeded (#654) 2022-10-10 20:54:46 -07:00
mz.ansi Initial import 2020-06-15 07:18:57 -07:00
notice.inc Initial import 2020-06-15 07:18:57 -07:00
relocations.h Optimize memory layout 2022-09-12 04:26:52 -07:00
sections.internal.h Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00
start.S Get Fat Emacs working on Apple Silicon 2023-08-17 22:01:42 -07:00
systemcall.S Mint APE Loader v1.5 2023-07-26 13:54:49 -07:00