mingw autosetup changed

git-svn-id: svn://ultimatepp.org/upp/trunk@9631 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2016-03-26 12:25:22 +00:00
parent 5b2dc3973d
commit ea151987ec
2 changed files with 4 additions and 3 deletions

View file

@ -426,7 +426,7 @@ bool LocalProcess::IsRunning() {
return false;
}
int status = 0, wp;
if(!( (wp = waitpid(pid, &status, WNOHANG | WUNTRACED)) == pid &&
if(!( (wp = waitpid(pid, &status, WNOHANG | WUNTRACED)) == pid &&
DecodeExitCode(status) ))
return true;
LLOG("IsRunning() -> no, just exited, exit code = " << exit_code);