diff options
author | Christopher Faylor <me@cgf.cx> | 2006-03-21 04:37:25 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2006-03-21 04:37:25 +0300 |
commit | d4d63ebf22e0738e4a88f0ad53cb4e0e87ef92e3 (patch) | |
tree | f0a81671dce7a0901b26b958fff4a329b000c8d3 /winsup/cygwin/pinfo.h | |
parent | 3078fb4f360e44b436bafcd9e7c51f26792e34b4 (diff) |
* dcrt0.cc (dll_crt0_0): Call SetErrorMode earlier.
* pinfo.cc (_pinfo::dup_proc_pipe): Reset wr_proc_pipe on failure. Return
previous pipe handle.
* pinfo.h (_pinfo::dup_proc_pipe): Reflect change to return value.
* spawn.cc (spawn_guts): Restore previous proc pipe on retry or if process
exits before synchronization.
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 fbd73dab9..0367f38e1 100644 --- a/winsup/cygwin/pinfo.h +++ b/winsup/cygwin/pinfo.h @@ -116,7 +116,7 @@ public: char *cwd (size_t &); char *cmdline (size_t &); void set_ctty (class tty_min *, int, class fhandler_tty_slave *); - bool dup_proc_pipe (HANDLE) __attribute__ ((regparm(2))); + HANDLE dup_proc_pipe (HANDLE) __attribute__ ((regparm(2))); void sync_proc_pipe (); bool alert_parent (char); int __stdcall kill (siginfo_t&) __attribute__ ((regparm (2))); |