diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-09-20 08:28:03 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-09-20 08:28:03 +0000 |
commit | bf6575ef62b4521d6c1d45371372dc1c1e74f18e (patch) | |
tree | ddffa8580a98a94b29e52c079e8d5905ab9cc1ff /io.c | |
parent | ee9e5a6ea87fb0365a939639d027ade3eee93cb1 (diff) | |
download | ruby-bf6575ef62b4521d6c1d45371372dc1c1e74f18e.tar.gz |
* io.c (popen_exec), process.c (rb_spawn): stop other threads before
exec. [ruby-core:08262]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3110,6 +3110,7 @@ popen_exec(void *pp) struct popen_arg *p = (struct popen_arg*)pp; int fd; + rb_thread_atfork(); popen_redirect(p); for (fd = 3; fd < NOFILE; fd++) { #ifdef FD_CLOEXEC |