* pinfo.cc (pinfo::exit): Only return low-order 16 bits when exiting.
This commit is contained in:
		| @@ -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> | 2005-01-31  Corinna Vinschen  <corinna@vinschen.de> | ||||||
|  |  | ||||||
| 	* fhandler_process.cc (format_process_maps): Get destbuf argument by | 	* fhandler_process.cc (format_process_maps): Get destbuf argument by | ||||||
|   | |||||||
| @@ -159,7 +159,7 @@ pinfo::exit (DWORD n) | |||||||
|   _my_tls.stackptr = _my_tls.stack; |   _my_tls.stackptr = _my_tls.stack; | ||||||
|   sigproc_printf ("Calling ExitProcess hProcess %p, n %p, exitcode %p", |   sigproc_printf ("Calling ExitProcess hProcess %p, n %p, exitcode %p", | ||||||
| 		  hProcess, n, exitcode); | 		  hProcess, n, exitcode); | ||||||
|   ExitProcess (exitcode); |   ExitProcess (exitcode & 0xffff); | ||||||
| } | } | ||||||
| # undef self | # undef self | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user