mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 14:58:30 +00:00
Avoid leaking handles across processes
This commit is contained in:
parent
a359de7893
commit
8a0008d985
44 changed files with 232 additions and 266 deletions
|
@ -252,7 +252,7 @@ void PosixSpawnWait(const char *prog) {
|
|||
}
|
||||
|
||||
BENCH(posix_spawn, bench) {
|
||||
long n = 128L * 1000 * 1000;
|
||||
long n = 1L * 1000 * 1000;
|
||||
memset(gc(malloc(n)), -1, n);
|
||||
creat("tiny64", 0755);
|
||||
write(3, kTinyLinuxExit, 128);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue