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/signal.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/signal.cc')
-rw-r--r--winsup/cygwin/signal.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/signal.cc b/winsup/cygwin/signal.cc
index afed39d6b..7ed6e4df2 100644
--- a/winsup/cygwin/signal.cc
+++ b/winsup/cygwin/signal.cc
@@ -193,7 +193,7 @@ kill_pgrp (pid_t pid, int sig)
winpids pids;
for (unsigned i = 0; i < pids.npids; i++)
{
- pinfo p (pids[i]);
+ pinfo p (pids[i], PID_NOREDIR);
if (!proc_exists (p))
continue;