From 9fcd90e36cf2ae981199ea185566c71f5742a5c9 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Mon, 14 Nov 2011 02:26:00 +0000 Subject: Changes to resolve warnings. Fixes Savannah bug #34608. --- function.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'function.c') diff --git a/function.c b/function.c index 42a0193..a8b9609 100644 --- a/function.c +++ b/function.c @@ -1681,7 +1681,7 @@ func_shell_base (char *o, char **argv, int trim_newlines) if (pid < 0) perror_with_name (error_prefix, "spawn"); # else /* ! __EMX__ */ - pid = vfork (); + pid = fork (); if (pid < 0) perror_with_name (error_prefix, "fork"); else if (pid == 0) -- cgit v1.2.3