diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-07-02 21:13:26 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-07-02 21:13:26 +0000 |
commit | d8e3b622ffa39adef78f42c7d8740fe2bcbc3cb2 (patch) | |
tree | 59b0d2620e24a0c4762ae09a7511c4e538f6a28c /ChangeLog | |
parent | 9763d91dc8543c1e550f7ca2a974a81e986a6a94 (diff) | |
download | ruby-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 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Sun Jul 3 06:04:09 2016 Eric Wong <e@80x24.org> + + * process.c (disable_child_handler_fork_child): simplify + [ruby-core:75781] [Misc #12439] + Sun Jul 3 05:25:46 2016 Eric Wong <e@80x24.org> * tool/asm_parse.rb: add description |