From: Roland McGrath Date: Sun, 1 Mar 1992 20:48:57 +0000 (+0000) Subject: Formerly function.c.~16~ X-Git-Tag: 3.70.2~841 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=13f4412f2c86cd421db82e50ac8e4e9355be9cd1;p=thirdparty%2Fmake.git Formerly function.c.~16~ --- diff --git a/function.c b/function.c index 1bc66e66..bfec09cc 100644 --- a/function.c +++ b/function.c @@ -326,8 +326,6 @@ expand_function (o, function, text, end) case function_shell: { - extern int fork (); - extern int pipe (); char **argv; char *error_prefix; int pipedes[2]; @@ -359,7 +357,7 @@ expand_function (o, function, text, end) push_signals_blocked_p (1); - pid = fork (); + pid = vfork (); if (pid < 0) perror_with_name (error_prefix, "fork"); else if (pid == 0)