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/pinfo.h | |
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/pinfo.h')
-rw-r--r-- | winsup/cygwin/pinfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/pinfo.h b/winsup/cygwin/pinfo.h index 62ddcb79e..551f3f29c 100644 --- a/winsup/cygwin/pinfo.h +++ b/winsup/cygwin/pinfo.h @@ -111,7 +111,7 @@ public: char *cwd (size_t &); char *cmdline (size_t &); bool set_ctty (class fhandler_termios *, int); - HANDLE dup_proc_pipe (HANDLE) __attribute__ ((regparm(2))); + HANDLE dup_proc_pipe (HANDLE, const char *) __attribute__ ((regparm(3))); void sync_proc_pipe (); bool alert_parent (char); int __stdcall kill (siginfo_t&) __attribute__ ((regparm (2))); |