summaryrefslogtreecommitdiff
path: root/random.c
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-07-02 21:13:26 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-07-02 21:13:26 +0000
commit80a0c0f808ced70bbd01a0dddf02344c93708eb5 (patch)
tree59b0d2620e24a0c4762ae09a7511c4e538f6a28c /random.c
parent213e7a1c53294f81dcd31a3baad43464e4031080 (diff)
process.c (disable_child_handler_fork_child): simplify
signal(2) is portable for SIG_DFL and SIG_IGN, so we do not need the extra code for sigaction(2). Also, execve will reset all signal handlers to default anyways, so there is little sense in preserving old signal handler besides SIG_IGN. Hopefully this makes the code easier-to-understand and maintain. * process.c (disable_child_handler_fork_child): simplify [ruby-core:75781] [Misc #12439] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'random.c')
0 files changed, 0 insertions, 0 deletions