cosmopolitan/build
Justine Tunney 45b72485ad Fix XNU / FreeBSD / OpenBSD / RHEL5 / NT bugs
For the first time ever, all tests in this codebase now pass, when
run automatically on macos, freebsd, openbsd, rhel5, rhel7, alpine
and windows via the network using the runit and runitd build tools

- Fix vfork exec path etc.
- Add XNU opendir() support
- Add OpenBSD opendir() support
- Add Linux history to syscalls.sh
- Use copy_file_range on FreeBSD 13+
- Fix system calls with 7+ arguments
- Fix Windows with greater than 16 FDs
- Fix RUNIT.COM and RUNITD.COM flakiness
- Fix OpenBSD munmap() when files are mapped
- Fix long double so it's actually long on Windows
- Fix OpenBSD truncate() and ftruncate() thunk typo
- Let Windows fcntl() be used on socket files descriptors
- Fix Windows fstat() which had an accidental printf statement
- Fix RHEL5 CLOCK_MONOTONIC by not aliasing to CLOCK_MONOTONIC_RAW

This is wonderful. I never could have dreamed it would be possible
to get it working so well on so many platforms with tiny binaries.

Fixes #31
Fixes #25
Fixes #14
2021-01-25 18:31:17 -08:00
..
bootstrap Fix XNU / FreeBSD / OpenBSD / RHEL5 / NT bugs 2021-01-25 18:31:17 -08:00
actuallynice Add binfmt_misc workaround detector to builds 2020-08-31 20:09:23 -07:00
archive Make minor improvements 2020-11-09 15:41:11 -08:00
assemble Add binfmt_misc workaround detector to builds 2020-08-31 20:09:23 -07:00
bochs-debugger Add binfmt_misc workaround detector to builds 2020-08-31 20:09:23 -07:00
bochs-scriptable Initial import 2020-06-15 07:18:57 -07:00
catcode Add binfmt_misc workaround detector to builds 2020-08-31 20:09:23 -07:00
compile Get fork() working on Windows 2020-11-13 03:14:39 -08:00
config.mk Enhance chibicc 2020-12-09 04:00:48 -08:00
definitions.mk Fix XNU / FreeBSD / OpenBSD / RHEL5 / NT bugs 2021-01-25 18:31:17 -08:00
do Add binfmt_misc workaround detector to builds 2020-08-31 20:09:23 -07:00
findtmp Initial import 2020-06-15 07:18:57 -07:00
functions.mk Initial import 2020-06-15 07:18:57 -07:00
getccname Enhance chibicc 2020-12-09 04:00:48 -08:00
getccversion Add binfmt_misc workaround detector to builds 2020-08-31 20:09:23 -07:00
getlogfmt Add binfmt_misc workaround detector to builds 2020-08-31 20:09:23 -07:00
htags Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
includeall Add binfmt_misc workaround detector to builds 2020-08-31 20:09:23 -07:00
link Add binfmt_misc workaround detector to builds 2020-08-31 20:09:23 -07:00
mkdeps Add binfmt_misc workaround detector to builds 2020-08-31 20:09:23 -07:00
objdump Add binfmt_misc workaround detector to builds 2020-08-31 20:09:23 -07:00
online.mk Initial import 2020-06-15 07:18:57 -07:00
package Fix link order in cosmopolitan.a 2021-01-16 12:05:41 -08:00
realify.sed Add minor improvements and cleanup 2020-10-27 03:39:46 -07:00
realify.sh Make more improvements 2020-09-28 01:20:34 -07:00
rle.py Fix XNU / FreeBSD / OpenBSD / RHEL5 / NT bugs 2021-01-25 18:31:17 -08:00
rollup Add binfmt_misc workaround detector to builds 2020-08-31 20:09:23 -07:00
rules.mk Remove dependency on ragel command 2021-01-17 09:42:52 -08:00
runcom Add binfmt_misc workaround detector to builds 2020-08-31 20:09:23 -07:00
sanitycheck Add binfmt_misc workaround detector to builds 2020-08-31 20:09:23 -07:00
sanitycheck2 Fix bug in code written a priori 2020-08-31 21:02:14 -07:00
ssh Add binfmt_misc workaround detector to builds 2020-08-31 20:09:23 -07:00
zipobj Add binfmt_misc workaround detector to builds 2020-08-31 20:09:23 -07:00