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
This commit is contained in:
@ -63,9 +63,7 @@
|
||||
#define BUFSIZ 0x1000 /* best stdio default */
|
||||
#define CACHELINE 0x40 /* nexgen32e */
|
||||
#define CHAR_BIT 8 /* b/c von neumann */
|
||||
#define ENV_MAX 0x7fff /* b/c windows */
|
||||
#define ARG_MAX 0x3fff /* b/c windows */
|
||||
#define CMD_MAX 0x4000 /* b/c windows */
|
||||
#define ARG_MAX 0x8000 /* b/c windows */
|
||||
#define PATH_MAX 248 /* b/c win32 apis limit ~248..260 */
|
||||
#define NAME_MAX 63 /* b/c dns */
|
||||
#define CHILD_MAX 25 /* only if malloc isn't linked */
|
||||
|
||||
Reference in New Issue
Block a user