mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 984196 - glxtest should use _exit instead of exit. r=bgirard
--HG-- extra : rebase_source : 668a5d4065ef44724947315fbaa9d43873fec899
This commit is contained in:
parent
5ea0fc8045
commit
bd78e76c76
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user