diff options
author | Christopher Faylor <me@cgf.cx> | 2012-03-07 21:09:37 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2012-03-07 21:09:37 +0400 |
commit | ab79e06445190ce13c5adccf5124f62f343bb9a6 (patch) | |
tree | 353e471163e52f0c3151e0489f8f3350663d660e /winsup/cygwin/spawn.cc | |
parent | 1d928241e113b4e0b8ea939ad6656aa01e71c829 (diff) |
* pinfo.cc (_pinfo::dup_proc_pipe): Reorganize to provide more information for
failing condition.
(pinfo::wait): Pass name of function to dup_proc_pipe. Eliminate error check
for dup_proc_pipe since it never actually returned an error.
* pinfo.h (_pinfo::dup_proc_pipe): Add an argument.
* spawn.cc (child_info_spawn::worker): Pass name of function to dup_proc_pipe.
Diffstat (limited to 'winsup/cygwin/spawn.cc')
-rw-r--r-- | winsup/cygwin/spawn.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/spawn.cc b/winsup/cygwin/spawn.cc index f052d350b..c2412305a 100644 --- a/winsup/cygwin/spawn.cc +++ b/winsup/cygwin/spawn.cc @@ -785,7 +785,7 @@ loop: myself->sync_proc_pipe (); /* Make sure that we own wr_proc_pipe just in case we've been previously execed. */ - orig_wr_proc_pipe = myself->dup_proc_pipe (pi.hProcess); + orig_wr_proc_pipe = myself->dup_proc_pipe (pi.hProcess, "child_info_spawn::worker"); } pid = myself->pid; if (!iscygwin ()) |