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 /ChangeLog | |
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 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,5 +1,15 @@ 2013-05-03 Eli Zaretskii <eliz@gnu.org> + * 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. + * load.c (load_object, load_file): Accept an additional argument DLP and return in it a pointer that can be used to unload the dynamic object. |