mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-27 15:52:28 +00:00
Make improvements
- Let OpenMP be usable via cosmocc - Let libunwind be usable via cosmocc - Make X86_HAVE(AVXVNNI) work correctly - Avoid using MAP_GROWSDOWN on qemu-aarch64 - Introduce in6addr_any and in6addr_loopback - Have thread stacks use MAP_GROWSDOWN by default - Ask OpenMP to not use filesystem to manage threads - Make NI_MAXHOST and NI_MAXSERV available w/o _GNU_SOURCE
This commit is contained in:
parent
5f8e9f14c1
commit
369aebfc48
36 changed files with 416 additions and 80 deletions
|
@ -23,7 +23,6 @@
|
|||
#include "libc/limits.h"
|
||||
#include "libc/macros.internal.h"
|
||||
#include "libc/mem/gc.h"
|
||||
#include "libc/mem/gc.h"
|
||||
#include "libc/mem/mem.h"
|
||||
#include "libc/runtime/runtime.h"
|
||||
#include "libc/sock/sock.h"
|
||||
|
@ -126,7 +125,7 @@ TEST(writev, empty_stillPerformsIoOperation) {
|
|||
ASSERT_NE(-1, (fd = open("file", O_RDONLY)));
|
||||
errno = 0;
|
||||
EXPECT_SYS(EBADF, -1, writev(fd, iov, ARRAYLEN(iov)));
|
||||
if (!(IsAarch64() && IsQemu())) {
|
||||
if (!(IsAarch64() && IsQemuUser())) {
|
||||
EXPECT_EQ(-1, writev(fd, NULL, 0));
|
||||
}
|
||||
EXPECT_NE(-1, close(fd));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue