summaryrefslogtreecommitdiff
path: root/function.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2007-10-10 13:22:21 +0000
committerPaul Smith <psmith@gnu.org>2007-10-10 13:22:21 +0000
commit2a23064da537eec5520495fa7033ab66cd8e5bfe (patch)
tree539b4f57dfb6dd6c01dbac48f1ad33eb7c127a2b /function.c
parente54dfb428420943a73e3b2098dc5c694c4fdf58d (diff)
downloadgunmake-2a23064da537eec5520495fa7033ab66cd8e5bfe.tar.gz
Fixes from Eli Zaretskii:
Fix to allow quoted directories in PATH. Fix for Savannah bug #20549.
Diffstat (limited to 'function.c')
-rw-r--r--function.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/function.c b/function.c
index 4be2340..09edbad 100644
--- a/function.c
+++ b/function.c
@@ -1601,7 +1601,8 @@ func_shell (char *o, char **argv, const char *funcname UNUSED)
#ifndef __MSDOS__
/* Construct the argument list. */
- command_argv = construct_command_argv (argv[0], NULL, NULL, &batch_filename);
+ command_argv = construct_command_argv (argv[0], NULL, NULL, 0,
+ &batch_filename);
if (command_argv == 0)
return o;
#endif
@@ -1785,8 +1786,8 @@ func_shell (char *o, char **argv, const char *funcname)
char* batch_filename = NULL;
/* Construct the argument list. */
- command_argv = construct_command_argv (argv[0], (char **) NULL,
- (struct file *) 0, &batch_filename);
+ command_argv = construct_command_argv (argv[0], NULL, NULL, 0,
+ &batch_filename);
if (command_argv == 0)
return o;