diff options
author | Paul Smith <psmith@gnu.org> | 2007-10-10 13:22:21 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2007-10-10 13:22:21 +0000 |
commit | 2a23064da537eec5520495fa7033ab66cd8e5bfe (patch) | |
tree | 539b4f57dfb6dd6c01dbac48f1ad33eb7c127a2b /function.c | |
parent | e54dfb428420943a73e3b2098dc5c694c4fdf58d (diff) | |
download | gunmake-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.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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; |