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-11-05 09:42:23 +0300
committerChristopher Faylor <me@cgf.cx>2000-11-05 09:42:23 +0300
commit0c9ae85d56f9bda2c53cbe3d9fad6aa9a042ad54 (patch)
treee36c194434cb5dcb138a52287393e33ec8ddd67a /winsup/cygwin/signal.cc
parent7edb836a68620f50399b6d086ecba7c19d08b10f (diff)
* pinfo.cc (winpids:add): New method.
(winpids::enumNT): New method renamed from EnumProcessesNT. Use add method to add elements to the lists. (winpids::enum9x): New method renamed from EnumProcesses9x. Use add method to add elements to the lists. (winpids::enum_init): Accept 'winpid' parameter to control whether to add all windows pids to the list. (winpids::release): New method. * pinfo.h (winpids): Reflect above changes. * signal.cc (kill_pgrp): Ditto. * external.cc (fillout_pinfo): Ditto.
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 bfac33c9f..242b2fb5d 100644
--- a/winsup/cygwin/signal.cc
+++ b/winsup/cygwin/signal.cc
@@ -207,7 +207,7 @@ kill_pgrp (pid_t pid, int sig)
winpids pids;
for (unsigned i = 0; i < pids.npids; i++)
{
- pinfo p (pids[i], PID_NOREDIR);
+ _pinfo *p = pids[i];
if (!proc_exists (p))
continue;