diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-09-12 05:30:05 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-09-12 05:30:05 +0000 |
commit | fc2fdcda1fe7c94a6c9dd1c45ea5b80b790c753b (patch) | |
tree | ae4cc01de26b13a1e9e63620a4c22e7969ab3617 /ChangeLog | |
parent | 69bc2a06e522e7c9527c221d451eaf21a594870e (diff) | |
download | ruby-fc2fdcda1fe7c94a6c9dd1c45ea5b80b790c753b.tar.gz |
process.c: do not inherit saved fds
* process.c (save_redirect_fd): make saved FDs close-on-exec not
to be inherited.
* process.c (run_exec_dup2): restore close-on-exec flags too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,4 +1,9 @@ -Sat Sep 12 14:23:20 2015 Nobuyoshi Nakada <nobu@ruby-lang.org> +Sat Sep 12 14:30:03 2015 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * process.c (save_redirect_fd): make saved FDs close-on-exec not + to be inherited. + + * process.c (run_exec_dup2): restore close-on-exec flags too. * win32/win32.c (fcntl): implement F_GETFD, F_SETFD, and F_DUPFD_CLOEXEC. |