diff options
author | Eli Zaretskii <eliz@gnu.org> | 2013-05-03 16:24:24 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2013-05-03 16:24:24 +0300 |
commit | 82793f85f5fbf1831dcb6a6595ca57c2242e4576 (patch) | |
tree | f5a19cf70b82b6a58164129fec260356a847252d /w32/subproc/NMakefile | |
parent | a66469e003526679b793f2d4623219aab2230b2f (diff) | |
download | gunmake-82793f85f5fbf1831dcb6a6595ca57c2242e4576.tar.gz |
Fix invocation of Windows batch files with whitespace in their names.
w32/subproc/sub_proc.c: Include makeint.h. Remove a private
incompatible prototype of xmalloc.
(batch_file_with_spaces): New function, detects Windows batch
files whose names include whitespace characters.
(process_begin): If exec_name is a batch file with whitespace
characters in its name, pass NULL as the first argument to
CreateProcess. This avoids weird failures due to buggy quoting by
CreateProcess. For the details, see the discussion starting at
http://lists.gnu.org/archive/html/make-w32/2013-04/msg00008.html.
Diffstat (limited to 'w32/subproc/NMakefile')
0 files changed, 0 insertions, 0 deletions