diff options
author | Eli Zaretskii <eliz@gnu.org> | 2014-10-02 18:11:43 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2014-10-02 18:11:43 +0300 |
commit | 5dc9021b80a947ca82f55d63b814d45c97beb935 (patch) | |
tree | be63318e55a789f213655d042e0e076e0ef52099 | |
parent | 89da9fea9a9f1c9dec817b1b162374e7c96ea777 (diff) | |
download | make-5dc9021b80a947ca82f55d63b814d45c97beb935.tar.gz |
Fix Cygwin compilation error.
* job.c (construct_command_argv_internal) [HAVE_DOS_PATHS]: Fix
initializer for sh_chars_sh.
Reported by Denis Excoffier<cygwin@Denis-Excoffier.org>.
-rw-r--r-- | job.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2697,8 +2697,9 @@ construct_command_argv_internal (char *line, char **restp, const char *shell, # ifdef HAVE_DOS_PATHS /* This is required if the MSYS/Cygwin ports (which do not define WINDOWS32) are compiled with HAVE_DOS_PATHS defined, which uses - sh_chars_sh directly (see below). */ - static const char *sh_chars_sh = sh_chars; + sh_chars_sh directly (see below). The value must be identical + to that of sh_chars immediately above. */ + static const char *sh_chars_sh = "#;\"*?[]&|<>(){}$`^~!"; # endif /* HAVE_DOS_PATHS */ #endif int i; |