diff options
| author | Miles Bader | 2007-12-06 09:51:45 +0000 |
|---|---|---|
| committer | Miles Bader | 2007-12-06 09:51:45 +0000 |
| commit | 0bd508417142ff377f34aec8dcec9438d9175c2c (patch) | |
| tree | 4d60fe09e5cebf7d79766b11e9cda8cc1c9dbb9b /src/w32proc.c | |
| parent | 98fe991da804a42f53f6a5e84cd5eab18a82e181 (diff) | |
| parent | 9fb1ba8090da3528de56158a79bd3527d31c7f2f (diff) | |
| download | emacs-0bd508417142ff377f34aec8dcec9438d9175c2c.tar.gz emacs-0bd508417142ff377f34aec8dcec9438d9175c2c.zip | |
Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-294
Diffstat (limited to 'src/w32proc.c')
| -rw-r--r-- | src/w32proc.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/w32proc.c b/src/w32proc.c index 6c5f9b89f77..7ce01aa3e50 100644 --- a/src/w32proc.c +++ b/src/w32proc.c | |||
| @@ -782,7 +782,14 @@ sys_spawnve (int mode, char *cmdname, char **argv, char **envp) | |||
| 782 | variable in their environment. */ | 782 | variable in their environment. */ |
| 783 | char ppid_env_var_buffer[64]; | 783 | char ppid_env_var_buffer[64]; |
| 784 | char *extra_env[] = {ppid_env_var_buffer, NULL}; | 784 | char *extra_env[] = {ppid_env_var_buffer, NULL}; |
| 785 | char *sepchars = " \t"; | 785 | /* These are the characters that cause an argument to need quoting. |
| 786 | Arguments with whitespace characters need quoting to prevent the | ||
| 787 | argument being split into two or more. Arguments with wildcards | ||
| 788 | are also quoted, for consistency with posix platforms, where wildcards | ||
| 789 | are not expanded if we run the program directly without a shell. | ||
| 790 | Some extra whitespace characters need quoting in Cygwin programs, | ||
| 791 | so this list is conditionally modified below. */ | ||
| 792 | char *sepchars = " \t*?"; | ||
| 786 | 793 | ||
| 787 | /* We don't care about the other modes */ | 794 | /* We don't care about the other modes */ |
| 788 | if (mode != _P_NOWAIT) | 795 | if (mode != _P_NOWAIT) |