cosmopolitan/test/libc
Justine Tunney 417797d218 Support dirfd relative iops on Windows
We always favor calling functions like openat(), fstatat(), etc. because
Linux, XNU, FreeBSD, and OpenBSD all elected to support them, while some
systems like Android love them so much, that they stopped supporting the
old interfaces.

This change ensures that when dirfd is actually a dirfd and not AT_FDCWD
we'll do the right thing on Windows NT. We use an API that's been around
since Vista to accomplish that.

This change also adds exponential backoff to chdir() on Windows since it
seems almost as flaky on Windows 7 as the rmdir() function.
2021-01-30 01:49:43 -08:00
..
alg Fix XNU / FreeBSD / OpenBSD / RHEL5 / NT bugs 2021-01-25 18:31:17 -08:00
bits Fix link order in cosmopolitan.a 2021-01-16 12:05:41 -08:00
calls Support dirfd relative iops on Windows 2021-01-30 01:49:43 -08:00
crypto Fix link order in cosmopolitan.a 2021-01-16 12:05:41 -08:00
dns Fix XNU / FreeBSD / OpenBSD / RHEL5 / NT bugs 2021-01-25 18:31:17 -08:00
fmt Normalize mkdir() error codes 2021-01-29 21:21:06 -08:00
intrin Fix link order in cosmopolitan.a 2021-01-16 12:05:41 -08:00
math Fix XNU / FreeBSD / OpenBSD / RHEL5 / NT bugs 2021-01-25 18:31:17 -08:00
mem Fix link order in cosmopolitan.a 2021-01-16 12:05:41 -08:00
nexgen32e Fix XNU / FreeBSD / OpenBSD / RHEL5 / NT bugs 2021-01-25 18:31:17 -08:00
rand Fix XNU / FreeBSD / OpenBSD / RHEL5 / NT bugs 2021-01-25 18:31:17 -08:00
release Fix link order in cosmopolitan.a 2021-01-16 12:05:41 -08:00
runtime Fix XNU / FreeBSD / OpenBSD / RHEL5 / NT bugs 2021-01-25 18:31:17 -08:00
sock Fix XNU / FreeBSD / OpenBSD / RHEL5 / NT bugs 2021-01-25 18:31:17 -08:00
stdio Work towards improving signals and processes 2021-01-27 19:34:02 -08:00
str Fix XNU / FreeBSD / OpenBSD / RHEL5 / NT bugs 2021-01-25 18:31:17 -08:00
time Fix XNU / FreeBSD / OpenBSD / RHEL5 / NT bugs 2021-01-25 18:31:17 -08:00
tinymath Fix XNU / FreeBSD / OpenBSD / RHEL5 / NT bugs 2021-01-25 18:31:17 -08:00
unicode Fix link order in cosmopolitan.a 2021-01-16 12:05:41 -08:00
x Fix link order in cosmopolitan.a 2021-01-16 12:05:41 -08:00
xed Fix XNU / FreeBSD / OpenBSD / RHEL5 / NT bugs 2021-01-25 18:31:17 -08:00
test.mk Fold conv package into fmt 2020-12-09 16:52:00 -08:00