summaryrefslogtreecommitdiff
path: root/function.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1992-04-21 07:50:09 +0000
committerRoland McGrath <roland@redhat.com>1992-04-21 07:50:09 +0000
commit3fcefefce50e59ba420e34040ceb71a7d374fd83 (patch)
treec54c32c1243d801f391f0d99fc5a028eea9a4622 /function.c
parent00da07ebd198f9b2a7a7a0c28fed19f932d1b1aa (diff)
downloadmake-3fcefefce50e59ba420e34040ceb71a7d374fd83.tar.gz
Formerly function.c.~17~
Diffstat (limited to 'function.c')
-rw-r--r--function.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/function.c b/function.c
index bfec09c..f6ce132 100644
--- a/function.c
+++ b/function.c
@@ -1,5 +1,5 @@
/* Variable function expansion for GNU Make.
-Copyright (C) 1988, 1989, 1991 Free Software Foundation, Inc.
+Copyright (C) 1988, 1989, 1991, 1992 Free Software Foundation, Inc.
This file is part of GNU Make.
GNU Make is free software; you can redistribute it and/or modify
@@ -355,8 +355,6 @@ expand_function (o, function, text, end)
break;
}
- push_signals_blocked_p (1);
-
pid = vfork ();
if (pid < 0)
perror_with_name (error_prefix, "fork");
@@ -403,7 +401,7 @@ expand_function (o, function, text, end)
/* Loop until child_handler sets shell_function_completed
to the status of our child shell. */
while (shell_function_completed == 0)
- wait_for_children (1, 0);
+ reap_children (1, 0);
shell_function_pid = 0;
@@ -440,8 +438,6 @@ expand_function (o, function, text, end)
free (buffer);
}
- pop_signals_blocked_p ();
-
free (text);
break;
}