Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62239 - sandbox/SOC/2010/process/boost/process/detail
From: boris_at_[hidden]
Date: 2010-05-26 08:48:15


Author: bschaeling
Date: 2010-05-26 08:48:11 EDT (Wed, 26 May 2010)
New Revision: 62239
URL: http://svn.boost.org/trac/boost/changeset/62239

Log:
Fixed boost::process::detail::file_handle::win32_dup()
Text files modified:
   sandbox/SOC/2010/process/boost/process/detail/file_handle.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: sandbox/SOC/2010/process/boost/process/detail/file_handle.hpp
==============================================================================
--- sandbox/SOC/2010/process/boost/process/detail/file_handle.hpp (original)
+++ sandbox/SOC/2010/process/boost/process/detail/file_handle.hpp 2010-05-26 08:48:11 EDT (Wed, 26 May 2010)
@@ -325,7 +325,7 @@
 
                 if ( ::DuplicateHandle(::GetCurrentProcess(), h,
                            ::GetCurrentProcess(), &h2, 0,
- false , DUPLICATE_SAME_ACCESS) ==0 )
+ inheritable ? TRUE : FALSE, DUPLICATE_SAME_ACCESS) ==0 )
                                      boost::throw_exception(boost::system::system_error(
                                      boost::system::error_code(::GetLastError(),
                                      boost::system::get_system_category()),


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk