summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2014-10-16 12:54:21 +0200
committerJohns <johns98@gmx.net>2014-10-16 12:54:21 +0200
commit46e9f23355480f16ce88c381059b3bbae647bcc7 (patch)
tree3e97d89ce4b1ca4278f250528370582ec801cc99
parentac1d5250c86dc8b4bef59cc5396411788c4b04b5 (diff)
downloadvdr-plugin-softhddevice-46e9f23355480f16ce88c381059b3bbae647bcc7.tar.gz
vdr-plugin-softhddevice-46e9f23355480f16ce88c381059b3bbae647bcc7.tar.bz2
Use more portable fork for vfork.
-rw-r--r--ChangeLog1
-rw-r--r--softhddev.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 100f9a6..1c6de56 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
User johns
Date:
+ Use more portable fork for vfork.
Fix crash with VA-API vdpau backend.
User mini73
diff --git a/softhddev.c b/softhddev.c
index 1759109..d0e32ee 100644
--- a/softhddev.c
+++ b/softhddev.c
@@ -3092,7 +3092,7 @@ static void StartXServer(void)
Debug(3, "x-setup: Starting X server '%s' '%s'\n", args[0],
X11ServerArguments);
// fork
- if ((pid = vfork())) { // parent
+ if ((pid = fork())) { // parent
X11ServerPid = pid;
Debug(3, "x-setup: Started x-server pid=%d\n", X11ServerPid);