From: normalperson@... Date: 2016-05-31T00:58:25+00:00 Subject: [ruby-core:75781] [Ruby trunk Misc#12439] [PATCH cleanup] process.c (disable_child_handler_fork_child): simplify Issue #12439 has been reported by Eric Wong. ---------------------------------------- Misc #12439: [PATCH cleanup] process.c (disable_child_handler_fork_child): simplify https://bugs.ruby-lang.org/issues/12439 * Author: Eric Wong * Status: Open * Priority: Normal * Assignee: Akira Tanaka ---------------------------------------- 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. Comments? Will commit in a week or two if no response. Thanks. ---Files-------------------------------- 0001-process.c-disable_child_handler_fork_child-simplify.patch (3.13 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: