system-quote, execute, spawn-pipe: Escape '?' on Windows.
authorBruno Haible <bruno@clisp.org>
Thu, 10 May 2012 23:39:04 +0000 (01:39 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 10 May 2012 23:39:04 +0000 (01:39 +0200)
commit1f96aa01f72bba8c9a0600280594a1a92bb505fc
tree0c00fd48d59f890dd14b4308f503e0b7f611388a
parent1a7dcb63e0b1c155a0180c88eab028f25937b600
system-quote, execute, spawn-pipe: Escape '?' on Windows.

* lib/system-quote.c (SHELL_SPECIAL_CHARS, CMD_SPECIAL_CHARS): Add the
'?' character.
* lib/w32spawn.h (SHELL_SPECIAL_CHARS): Likewise.
* tests/test-system-quote-main.c (check_all): Check also strings like
"??????????".
Reported by Eli Zaretskii <eliz@gnu.org>.
ChangeLog
lib/system-quote.c
lib/w32spawn.h
tests/test-system-quote-main.c