From 2193796a36944a983c86a41c15ef8a9f059965a5 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 5 Oct 2005 21:44:56 +0000 Subject: ldd does not build due to missing fork() on MMUless. Since ldd merely does a fork/exec, fork() can be trivially replaced with vfork() --- utils/ldd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils') diff --git a/utils/ldd.c b/utils/ldd.c index 51451809c..a857127a8 100644 --- a/utils/ldd.c +++ b/utils/ldd.c @@ -727,7 +727,7 @@ foo: NULL }; - if ((pid = fork()) == 0) { + if ((pid = vfork()) == 0) { /* Cool, it looks like we should be able to actually * run this puppy. Do so now... */ execle(filename, filename, NULL, environment); -- cgit v1.2.3