Bug 984196 - glxtest should use _exit instead of exit. r=bgirard

--HG--
extra : rebase_source : 668a5d4065ef44724947315fbaa9d43873fec899
This commit is contained in:
Viktor Stanchev 2014-03-24 17:00:02 -04:00
parent 5ea0fc8045
commit bd78e76c76

View File

@ -83,7 +83,7 @@ static void fatal_error(const char *str)
{
write(write_end_of_the_pipe, str, strlen(str));
write(write_end_of_the_pipe, "\n", 1);
exit(EXIT_FAILURE);
_exit(EXIT_FAILURE);
}
static int
@ -97,7 +97,7 @@ x_error_handler(Display *, XErrorEvent *ev)
ev->request_code,
ev->minor_code);
write(write_end_of_the_pipe, buf, length);
exit(EXIT_FAILURE);
_exit(EXIT_FAILURE);
return 0;
}
@ -267,7 +267,7 @@ bool fire_glxtest_process()
write_end_of_the_pipe = pfd[1];
glxtest();
close(pfd[1]);
exit(0);
_exit(0);
}
close(pfd[1]);