Fix invocation of commands whose file name includes extension (Bug#19817)
commit4b0b27d0018f040bda6a2ec885fa54c666d9c083
authorEli Zaretskii <eliz@gnu.org>
Tue, 10 Feb 2015 16:26:23 +0000 (10 18:26 +0200)
committerEli Zaretskii <eliz@gnu.org>
Tue, 10 Feb 2015 16:26:23 +0000 (10 18:26 +0200)
tree03bd3405355205ee121268785581e432dc7d8be1
parent87fc99fee17ef1df4c22db15ec783a7735d3fc6b
Fix invocation of commands whose file name includes extension  (Bug#19817)

 nt/cmdproxy.c (get_next_token): Don't make backslashes disappear
 without a trace when they are not followed by a quote.
 (search_dir): Support searching programs whose file name already
 has an arbitrary extension.
 (main): When passing a command line to the shell, use cmd.exe
 rules for quoting command-line tail.
nt/ChangeLog
nt/cmdproxy.c