summaryrefslogtreecommitdiff
path: root/job.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2013-05-03 16:24:24 +0300
committerEli Zaretskii <eliz@gnu.org>2013-05-03 16:24:24 +0300
commit82793f85f5fbf1831dcb6a6595ca57c2242e4576 (patch)
treef5a19cf70b82b6a58164129fec260356a847252d /job.c
parenta66469e003526679b793f2d4623219aab2230b2f (diff)
downloadgunmake-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 'job.c')
0 files changed, 0 insertions, 0 deletions