summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1992-03-01 20:48:57 +0000
committerRoland McGrath <roland@redhat.com>1992-03-01 20:48:57 +0000
commit13f4412f2c86cd421db82e50ac8e4e9355be9cd1 (patch)
treeb6831a8f2498e4a5f4abab426a33ff4eb31c7f73
parentedbca2344d24eda0bcf3c29a44c455879e558dfe (diff)
downloadgunmake-13f4412f2c86cd421db82e50ac8e4e9355be9cd1.tar.gz
Formerly function.c.~16~
-rw-r--r--function.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/function.c b/function.c
index 1bc66e6..bfec09c 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)