summaryrefslogtreecommitdiff
path: root/src/host
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-03-16 15:34:44 +0000
committermidipix <writeonce@midipix.org>2024-03-16 15:34:44 +0000
commitc8ac943463470e1486a061a65943b2be859ba2df (patch)
tree479b8e81265020bf02b447b0cf9cd827290aa8b4 /src/host
parent7ff9431e77e9966c19c8fcda06a0de2a750efe09 (diff)
downloadslibtool-c8ac943463470e1486a061a65943b2be859ba2df.tar.bz2
slibtool-c8ac943463470e1486a061a65943b2be859ba2df.tar.xz
simple process creation: midipix targets: utilize the fast and robust vfork().
Diffstat (limited to 'src/host')
-rw-r--r--src/host/slbt_host_params.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/host/slbt_host_params.c b/src/host/slbt_host_params.c
index 94456e2..cd9ad87 100644
--- a/src/host/slbt_host_params.c
+++ b/src/host/slbt_host_params.c
@@ -15,6 +15,7 @@
#include <slibtool/slibtool.h>
#include "slibtool_driver_impl.h"
+#include "slibtool_spawn_impl.h"
#include "slibtool_errinfo_impl.h"
#include "slibtool_visibility_impl.h"
#include "slibtool_ar_impl.h"
@@ -63,7 +64,7 @@ static void slbt_spawn_ar(char ** argv, int * ecode)
*ecode = 127;
- if ((pid = fork()) < 0) {
+ if ((pid = slbt_fork()) < 0) {
return;
} else if (pid == 0) {