DescriptionFactor out command-line quoting code on Windows.
Our command line code is not very good with respect to getting
quoting right. Because of this, callers will sometimes themselves
attempt to quote arguments, though some of them get it wrong(!) by
just surrounding with quotes.
The first step is to add a quoting function that we think is correct
and update the unit test to test it.
(Note that most of this is Windows-specific, because on POSIX
we can pass arguments to commands as a vector -- trying to do
quoting on POSIX is usually wrong.)
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=55591
Patch Set 1 #Patch Set 2 : better #
Total comments: 4
Messages
Total messages: 9 (0 generated)
|