diff options
author | Christopher Faylor <me@cgf.cx> | 2005-12-26 22:34:59 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-12-26 22:34:59 +0300 |
commit | a16b738dd53486a3a65a28519129ebd060a02db9 (patch) | |
tree | 997fdb3185d3f3e8e83524e53a7578bd63aef357 /winsup/cygwin/pinfo.cc | |
parent | c675040a068e107e8628b8e29efd975b1162dc66 (diff) |
* dcrt0.cc (__api_fatal): Simplify to just use strace mechamisms.
(do_exit): Move minimal_printf...
* pinfo.cc (pinfo::exit): ...into here.
* strace.cc (strace::vprntf): Guarantee output to the console when
system_printf/api_fatal.
* heap.cc (heap_init): Wait a second before issuing an error when
ERROR_INVALID_ADDRESS since this is probably due to a CTRL-C handler sneaking
in, using the memory that we want to use for the heap, and, eventually exiting.
Diffstat (limited to 'winsup/cygwin/pinfo.cc')
-rw-r--r-- | winsup/cygwin/pinfo.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc index 47c2b7d0d..7940051d3 100644 --- a/winsup/cygwin/pinfo.cc +++ b/winsup/cygwin/pinfo.cc @@ -139,6 +139,7 @@ pinfo::zap_cwd () void pinfo::exit (DWORD n) { + minimal_printf ("winpid %d, exit %d", GetCurrentProcessId (), n); lock_process until_exit (); cygthread::terminate (); |