summaryrefslogtreecommitdiff
path: root/src/arbits
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/arbits
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/arbits')
-rw-r--r--src/arbits/slbt_archive_syminfo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/arbits/slbt_archive_syminfo.c b/src/arbits/slbt_archive_syminfo.c
index 8b013ab..5a96ab9 100644
--- a/src/arbits/slbt_archive_syminfo.c
+++ b/src/arbits/slbt_archive_syminfo.c
@@ -20,6 +20,7 @@
#include "slibtool_ar_impl.h"
#include "slibtool_driver_impl.h"
#include "slibtool_dprintf_impl.h"
+#include "slibtool_spawn_impl.h"
#include "slibtool_snprintf_impl.h"
#include "slibtool_errinfo_impl.h"
@@ -112,7 +113,7 @@ static int slbt_obtain_nminfo(
if ((fdout = openat(fdcwd,output,O_CREAT|O_TRUNC|O_WRONLY,0644)) < 0)
return SLBT_SYSTEM_ERROR(dctx,output);
- if ((pid = fork()) < 0) {
+ if ((pid = slbt_fork()) < 0) {
close(fdout);
return SLBT_SYSTEM_ERROR(dctx,0);
}