diff options
author | Christopher Faylor <me@cgf.cx> | 2000-11-05 16:47:00 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-11-05 16:47:00 +0000 |
commit | 914f7bf5659525054e54cfb045a0cb22b0e57d5a (patch) | |
tree | 8bcac7379a5cf744b11f9d5608ad71601aa566ba /winsup | |
parent | 0c9ae85d56f9bda2c53cbe3d9fad6aa9a042ad54 (diff) | |
download | newlib-914f7bf5659525054e54cfb045a0cb22b0e57d5a.zip newlib-914f7bf5659525054e54cfb045a0cb22b0e57d5a.tar.gz newlib-914f7bf5659525054e54cfb045a0cb22b0e57d5a.tar.bz2 |
* pinfo (wait_subproc): Neverending debug tweaking.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/sigproc.cc | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 58236d4..35df963 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +Sun Nov 5 11:45:15 2000 Christopher Faylor <cgf@cygnus.com> + + * pinfo (wait_subproc): Neverending debug tweaking. + Sun Nov 5 01:34:51 2000 Christopher Faylor <cgf@cygnus.com> * pinfo.cc (winpids:add): New method. diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc index e4bd915..5e3b21b 100644 --- a/winsup/cygwin/sigproc.cc +++ b/winsup/cygwin/sigproc.cc @@ -1252,10 +1252,10 @@ wait_subproc (VOID *) else { system_printf ("nchildren %d, event[%d] %p, pchildren[%d] %p, events[0] %p, %E", - nchildren, i, events[i], i, (_pinfo *) pchildren[i], events[0]); + nchildren, i, events[i], i - 1, (_pinfo *) pchildren[i - 1], events[0]); system_printf ("pid %d, dwProcessId %u, progname '%s'", - pchildren[i]->pid, pchildren[i]->dwProcessId, - pchildren[i]->progname); + pchildren[i - 1]->pid, pchildren[i - 1]->dwProcessId, + pchildren[i - 1]->progname); } break; } |