mirror of
https://github.com/mirror/make.git
synced 2025-01-31 06:40:49 +08:00
Formerly function.c.~16~
This commit is contained in:
parent
edbca2344d
commit
13f4412f2c
@ -326,8 +326,6 @@ expand_function (o, function, text, end)
|
|||||||
|
|
||||||
case function_shell:
|
case function_shell:
|
||||||
{
|
{
|
||||||
extern int fork ();
|
|
||||||
extern int pipe ();
|
|
||||||
char **argv;
|
char **argv;
|
||||||
char *error_prefix;
|
char *error_prefix;
|
||||||
int pipedes[2];
|
int pipedes[2];
|
||||||
@ -359,7 +357,7 @@ expand_function (o, function, text, end)
|
|||||||
|
|
||||||
push_signals_blocked_p (1);
|
push_signals_blocked_p (1);
|
||||||
|
|
||||||
pid = fork ();
|
pid = vfork ();
|
||||||
if (pid < 0)
|
if (pid < 0)
|
||||||
perror_with_name (error_prefix, "fork");
|
perror_with_name (error_prefix, "fork");
|
||||||
else if (pid == 0)
|
else if (pid == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user