diff options
author | Christopher Faylor <me@cgf.cx> | 2012-05-08 19:06:43 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2012-05-08 19:06:43 +0400 |
commit | dfd5d5bea614c4ce80ea90e73a0d47d071e3efa1 (patch) | |
tree | 218a6bdb2329e824d78be456e476e8839d347d2b /winsup/cygwin/fork.cc | |
parent | 51180c08ed6a11a2dab5dc8b591bab1e84054118 (diff) |
* DevNotes: Add entry cgf-000004.
* pinfo.cc (pinfo::init): Reuse shared memory if the state is marked with
PID_REAPED.
* spawn.cc (child_info_spawn::worker): Don't duplicate myself_pinfo into
non-cygwin child.
* fork.cc (frok::parent): Improve error output.
Diffstat (limited to 'winsup/cygwin/fork.cc')
-rw-r--r-- | winsup/cygwin/fork.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/fork.cc b/winsup/cygwin/fork.cc index e617bd133..22076fc1d 100644 --- a/winsup/cygwin/fork.cc +++ b/winsup/cygwin/fork.cc @@ -393,8 +393,8 @@ frok::parent (volatile char * volatile stack_here) /* Wait for subproc to initialize itself. */ if (!ch.sync (pi.dwProcessId, hchild, FORK_WAIT_TIMEOUT)) { - if (!error ("forked process died unexpectedly, retry %d, exit code %d", - ch.retry, ch.exit_code)) + if (!error ("forked process %u died unexpectedly, retry %d, exit code %d", + pi.dwProcessId, ch.retry, ch.exit_code)) continue; this_errno = EAGAIN; goto cleanup; |