Use more portable fork for vfork.
This commit is contained in:
parent
ac1d5250c8
commit
46e9f23355
|
@ -1,6 +1,7 @@
|
||||||
User johns
|
User johns
|
||||||
Date:
|
Date:
|
||||||
|
|
||||||
|
Use more portable fork for vfork.
|
||||||
Fix crash with VA-API vdpau backend.
|
Fix crash with VA-API vdpau backend.
|
||||||
|
|
||||||
User mini73
|
User mini73
|
||||||
|
|
|
@ -3092,7 +3092,7 @@ static void StartXServer(void)
|
||||||
Debug(3, "x-setup: Starting X server '%s' '%s'\n", args[0],
|
Debug(3, "x-setup: Starting X server '%s' '%s'\n", args[0],
|
||||||
X11ServerArguments);
|
X11ServerArguments);
|
||||||
// fork
|
// fork
|
||||||
if ((pid = vfork())) { // parent
|
if ((pid = fork())) { // parent
|
||||||
|
|
||||||
X11ServerPid = pid;
|
X11ServerPid = pid;
|
||||||
Debug(3, "x-setup: Started x-server pid=%d\n", X11ServerPid);
|
Debug(3, "x-setup: Started x-server pid=%d\n", X11ServerPid);
|
||||||
|
|
Loading…
Reference in New Issue