aboutsummaryrefslogtreecommitdiffstats
path: root/complex.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
commitd8e3b622ffa39adef78f42c7d8740fe2bcbc3cb2 (patch)
tree59b0d2620e24a0c4762ae09a7511c4e538f6a28c /complex.c
parent9763d91dc8543c1e550f7ca2a974a81e986a6a94 (diff)
downloadruby-d8e3b622ffa39adef78f42c7d8740fe2bcbc3cb2.tar.gz
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 'complex.c')
0 files changed, 0 insertions, 0 deletions