This commit is contained in:
parent
48d5b28742
commit
02da559a0b
|
@ -140,11 +140,8 @@ pinfo::exit (DWORD n)
|
|||
fill_rusage (&r, hMainProc);
|
||||
add_rusage (&self->rusage_self, &r);
|
||||
|
||||
/* The below call could be moved down two lines, but this provides consistent
|
||||
output from strace and the overhead should be extremely negligible. */
|
||||
maybe_set_exit_code_from_windows ();
|
||||
|
||||
|
||||
if (n != EXITCODE_NOSET)
|
||||
{
|
||||
SetCurrentDirectory ("c:\\"); /* Move to an innocuous location to
|
||||
|
|
Loading…
Reference in New Issue