* external.cc (fillout_pinfo): Reset counter whenever we initialize the pid
list.
This commit is contained in:
parent
12f6d7bc9c
commit
2c774ac3f3
|
@ -1,3 +1,8 @@
|
||||||
|
Mon Oct 8 00:25:18 2001 Christopher Faylor <cgf@cygnus.com>
|
||||||
|
|
||||||
|
* external.cc (fillout_pinfo): Reset counter whenever we initialize the
|
||||||
|
pid list.
|
||||||
|
|
||||||
Sun Oct 7 17:16:05 2001 Christopher Faylor <cgf@cygnus.com>
|
Sun Oct 7 17:16:05 2001 Christopher Faylor <cgf@cygnus.com>
|
||||||
|
|
||||||
* path.cc (normalize_posix_path): Don't eat a '.' after a '\\' since it
|
* path.cc (normalize_posix_path): Don't eat a '.' after a '\\' since it
|
||||||
|
|
|
@ -32,10 +32,13 @@ fillout_pinfo (pid_t pid, int winpid)
|
||||||
|
|
||||||
static winpids pids (0);
|
static winpids pids (0);
|
||||||
|
|
||||||
if (!pids.npids || !nextpid)
|
|
||||||
pids.init (winpid);
|
|
||||||
|
|
||||||
static unsigned int i;
|
static unsigned int i;
|
||||||
|
if (!pids.npids || !nextpid)
|
||||||
|
{
|
||||||
|
pids.init (winpid);
|
||||||
|
i = 0;
|
||||||
|
}
|
||||||
|
|
||||||
if (!pid)
|
if (!pid)
|
||||||
i = 0;
|
i = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue