aboutsummaryrefslogtreecommitdiff
path: root/lib/std/math.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-09-28 22:17:50 -0700
committerAndrew Kelley <andrew@ziglang.org>2020-09-28 22:17:50 -0700
commit29fd13009391060a2d6783fb0b91cb075c2e6cce (patch)
treeb2f2b9603c1ad67a6d59c6d38f52b962d1091bb8 /lib/std/math.zig
parent5fed42d70a9ce23581bc8e1651a417161f269663 (diff)
downloadzig-29fd13009391060a2d6783fb0b91cb075c2e6cce.tar.gz
zig-29fd13009391060a2d6783fb0b91cb075c2e6cce.zip
std.ChildProcess: bypass libc exit() in fork child error case
Comment reproduced here: If we're linking libc, some naughty applications may have registered atexit handlers which we really do not want to run in the fork child. I caught LLVM doing this and it caused a deadlock instead of doing an exit syscall. In the words of Avril Lavigne, "Why'd you have to go and make things so complicated?"
Diffstat (limited to 'lib/std/math.zig')
0 files changed, 0 insertions, 0 deletions