mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-04 18:28:30 +00:00
Add fixups for previous change
This commit is contained in:
parent
3c92adfd6e
commit
5297897ba1
47 changed files with 68 additions and 15 deletions
|
@ -39,6 +39,7 @@
|
|||
|
||||
__attribute__((__constructor__)) static void init(void) {
|
||||
pledge("stdio rpath proc inet", 0);
|
||||
errno = 0;
|
||||
}
|
||||
|
||||
dontdiscard char *FormatPollFd(struct pollfd p[2]) {
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
|
||||
__attribute__((__constructor__)) static void init(void) {
|
||||
pledge("stdio rpath", 0);
|
||||
errno = 0;
|
||||
}
|
||||
|
||||
// TEST(select, allZero) {
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
|
||||
__attribute__((__constructor__)) static void init(void) {
|
||||
pledge("stdio rpath inet", 0);
|
||||
errno = 0;
|
||||
}
|
||||
|
||||
TEST(setsockopt, SO_RCVTIMEO) {
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
|
||||
__attribute__((__constructor__)) static void init(void) {
|
||||
pledge("stdio rpath tty", 0);
|
||||
errno = 0;
|
||||
}
|
||||
|
||||
TEST(socketpair, testAfUnixStream) {
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
|
||||
__attribute__((__constructor__)) static void init(void) {
|
||||
pledge("stdio rpath cpath proc unix", 0);
|
||||
errno = 0;
|
||||
}
|
||||
|
||||
char testlib_enable_tmp_setup_teardown;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue