cosmopolitan/libc/nt
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
..
advapi32 Fix Windows 7 support (#19) 2020-12-28 13:52:02 -08:00
comdlg32 Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
enum Fix XNU / FreeBSD / OpenBSD / RHEL5 / NT bugs 2021-01-25 18:31:17 -08:00
gdi32 Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
kernel32 Fix XNU / FreeBSD / OpenBSD / RHEL5 / NT bugs 2021-01-25 18:31:17 -08:00
KernelBase Fix Windows 7 support (#19) 2020-12-28 13:52:02 -08:00
MsWSock Initial import 2020-06-15 07:18:57 -07:00
netapi32 Initial import 2020-06-15 07:18:57 -07:00
nt Improve documentation 2020-12-27 07:02:35 -08:00
ntdll Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08:00
shell32 Initial import 2020-06-15 07:18:57 -07:00
struct Fix XNU / FreeBSD / OpenBSD / RHEL5 / NT bugs 2021-01-25 18:31:17 -08:00
thunk Auto-generate some documentation 2020-12-26 02:09:07 -08:00
typedef Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08:00
url Initial import 2020-06-15 07:18:57 -07:00
user32 Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
ws2_32 Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08:00
accounting.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
automation.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
codegen.h Make improvements 2020-12-01 03:43:40 -08:00
codegen.sh Change license 2020-12-27 17:18:44 -08:00
comdlg.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
console.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
createfile.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
debug.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
dll.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
errors.h Initial import 2020-06-15 07:18:57 -07:00
events.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
files.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
iocp.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
ipc.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
master.sh Fix XNU / FreeBSD / OpenBSD / RHEL5 / NT bugs 2021-01-25 18:31:17 -08:00
memory.h Avoid mapping above 4gb on Windows 7 x64 (#19) 2021-01-16 19:18:37 -08:00
messagebox.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
nt.mk Fix link order in cosmopolitan.a 2021-01-16 12:05:41 -08:00
ntdll.h Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08:00
ntdllimport.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
ntdllimport.S Change license 2020-12-27 17:18:44 -08:00
paint.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
pedef.internal.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
privilege.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
process.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
registry.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
runtime.h Add chibicc 2020-12-06 16:20:21 -08:00
signals.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
startupinfo.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
synchronization.h Fix XNU / FreeBSD / OpenBSD / RHEL5 / NT bugs 2021-01-25 18:31:17 -08:00
systeminfo.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
sysv2nt.s Fix link order in cosmopolitan.a 2021-01-16 12:05:41 -08:00
thread.h Add chibicc 2020-12-06 16:20:21 -08:00
windows.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
winsock.h Further refine documentation 2020-12-27 17:05:03 -08:00