aboutsummaryrefslogtreecommitdiff
path: root/butl/process.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-01-28 01:06:36 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-01-30 20:20:07 +0300
commit20fe8fea93ad2165d3f44453c648179c6ed6bd53 (patch)
tree32f07a56c7306a04f9c58b6fea9663254ce7bfa3 /butl/process.cxx
parentea97d24afdc13d6f8d94918c7f2919b943bba04d (diff)
Make fdopen_pipe(), fdopen(), fdnull() and fddup() to set FD_CLOEXEC flag
Diffstat (limited to 'butl/process.cxx')
-rw-r--r--butl/process.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/butl/process.cxx b/butl/process.cxx
index 526966e..892e930 100644
--- a/butl/process.cxx
+++ b/butl/process.cxx
@@ -865,7 +865,7 @@ namespace butl
// Resolve file descriptor to HANDLE and make sure it is inherited. Note
// that the handle is closed either when CloseHandle() is called for it or
// when _close() is called for the associated file descriptor. Make sure
- // that either the original file descriptor or the resulted HANDLE is
+ // that either the original file descriptor or the resulting HANDLE is
// closed but not both of them.
//
auto get_osfhandle = [&fail](int fd) -> HANDLE