diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2013-06-27 21:00:12 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2013-06-27 21:00:12 +0400 |
commit | 9626422634499a35ec5dfe45ea6a0f04538cac20 (patch) | |
tree | 21b6c6a60336424fbff96f12e9516cd590136211 /winsup/cygwin/fork.cc | |
parent | 27ad840ea53a4a1c25497d71c2df55f1cf4d25f8 (diff) |
* dcrt0.cc (child_info_fork::alloc_stack): Fix a comparison to avoid
taking 4K more stack in forked child.
* fork.cc (frok::parent): Print child exit code in hex if sync failed.
Diffstat (limited to 'winsup/cygwin/fork.cc')
-rw-r--r-- | winsup/cygwin/fork.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fork.cc b/winsup/cygwin/fork.cc index f7b9aa880..58b109fa9 100644 --- a/winsup/cygwin/fork.cc +++ b/winsup/cygwin/fork.cc @@ -398,7 +398,7 @@ 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 %u died unexpectedly, retry %d, exit code %d", + if (!error ("forked process %u died unexpectedly, retry %d, exit code %y", pi.dwProcessId, ch.retry, ch.exit_code)) continue; this_errno = EAGAIN; |