diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2000-04-27 04:48:13 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2000-04-27 04:48:13 +0000 |
commit | 96fe7aed53835d5ac130c2e596a66174b45f0812 (patch) | |
tree | d82bee5f3b488acb34e0f86d831234387baf6710 /ace/Process_Manager.cpp | |
parent | 16a31a07f32efbb506c7df1200d1d04925219565 (diff) | |
download | ATCD-96fe7aed53835d5ac130c2e596a66174b45f0812.tar.gz |
ChangeLogTag:Wed Apr 26 23:47:31 2000 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
Diffstat (limited to 'ace/Process_Manager.cpp')
-rw-r--r-- | ace/Process_Manager.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ace/Process_Manager.cpp b/ace/Process_Manager.cpp index acfbb3b38a2..0449db4759a 100644 --- a/ace/Process_Manager.cpp +++ b/ace/Process_Manager.cpp @@ -190,6 +190,10 @@ ACE_Process_Manager::open (size_t size, this->dummy_handle_ = ACE_OS::open (ACE_DEV_NULL, O_WRONLY); ACE_ASSERT (this->dummy_handle_ != ACE_INVALID_HANDLE); +#if defined (F_SETFD) + // Don't want children to inherit the dummy I/O handle! + ACE_OS::fcntl (this->dummy_handle_, F_SETFD, 1); +#endif /* F_SETFD */ // Register signal handler object. Note that NULL_MASK is used // to keep the ACE_Reactor from calling us back on the |