Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-10-20 08:20:21 +0400
committerChristopher Faylor <me@cgf.cx>2000-10-20 08:20:21 +0400
commita333dca2b8911e7cb09ab7ff38692ae879e8b67a (patch)
treeba6895c1454afb8650eb6704b0d3ef0611c44574 /winsup/cygwin/external.cc
parent74266a0fee830ed4162d10e253c872f349511a23 (diff)
* external.cc (fillout_pinfo): Pass PID_NOREDIR flag to pinfo init to avoid
finding execed processes twice. * signal.cc (kill_pgrp): Ditto. * spawn.cc (spawn_guts): Avoid passing first argument to CreateProcess when running a windows shell so that CreateProcess will locate the shell. Reorganize so that correct error is returned when CreateProcess fails.
Diffstat (limited to 'winsup/cygwin/external.cc')
-rw-r--r--winsup/cygwin/external.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/external.cc b/winsup/cygwin/external.cc
index 3a04453ed..0623911d5 100644
--- a/winsup/cygwin/external.cc
+++ b/winsup/cygwin/external.cc
@@ -44,7 +44,7 @@ fillout_pinfo (pid_t pid, int winpid)
DWORD thispid = pids[i++];
if (!thispid)
continue;
- pinfo p (thispid);
+ pinfo p (thispid, PID_NOREDIR);
if (!p)
{