* pinfo.cc (pinfo::exit): Only return low-order 16 bits when exiting.
This commit is contained in:
parent
6d336c0e5a
commit
ad1d82b851
|
@ -1,3 +1,7 @@
|
|||
2005-01-31 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* pinfo.cc (pinfo::exit): Only return low-order 16 bits when exiting.
|
||||
|
||||
2005-01-31 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* fhandler_process.cc (format_process_maps): Get destbuf argument by
|
||||
|
|
|
@ -159,7 +159,7 @@ pinfo::exit (DWORD n)
|
|||
_my_tls.stackptr = _my_tls.stack;
|
||||
sigproc_printf ("Calling ExitProcess hProcess %p, n %p, exitcode %p",
|
||||
hProcess, n, exitcode);
|
||||
ExitProcess (exitcode);
|
||||
ExitProcess (exitcode & 0xffff);
|
||||
}
|
||||
# undef self
|
||||
|
||||
|
|
Loading…
Reference in New Issue