Page MenuHomeFreeBSD

D20989.id59900.diff
No OneTemporary

D20989.id59900.diff

Index: head/lib/libc/tests/gen/dir2_test.c
===================================================================
--- head/lib/libc/tests/gen/dir2_test.c
+++ head/lib/libc/tests/gen/dir2_test.c
@@ -73,7 +73,7 @@
char filename[16];
snprintf(filename, sizeof(filename), "%d", i);
- fd = openat(dirfd, filename, O_WRONLY | O_CREAT);
+ fd = openat(dirfd, filename, O_WRONLY | O_CREAT, 0600);
ATF_REQUIRE(fd > 0);
close(fd);
}
@@ -150,7 +150,7 @@
char filename[16];
snprintf(filename, sizeof(filename), "%d", i);
- fd = openat(dirfd, filename, O_WRONLY | O_CREAT);
+ fd = openat(dirfd, filename, O_WRONLY | O_CREAT, 0600);
ATF_REQUIRE(fd > 0);
close(fd);
}

File Metadata

Mime Type
text/plain
Expires
Sat, Apr 25, 11:18 PM (8 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32147338
Default Alt Text
D20989.id59900.diff (685 B)

Event Timeline