diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-09-23 13:27:14 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-09-23 13:27:14 (GMT) |
commit | 6d3aeef45e68dc92f69195ab165ce49ecd4738c4 (patch) | |
tree | 557acf48815936a86298a60639af7077e4056f8d /win/tclWinPipe.c | |
parent | 63ef0e3d26d5ef38c104cb50b97e7cddb70dbba6 (diff) | |
download | tcl-6d3aeef45e68dc92f69195ab165ce49ecd4738c4.zip tcl-6d3aeef45e68dc92f69195ab165ce49ecd4738c4.tar.gz tcl-6d3aeef45e68dc92f69195ab165ce49ecd4738c4.tar.bz2 |
Give lambda function a name "ReceiveChunked" for easier testing. New function quoteString and code cleanup
Diffstat (limited to 'win/tclWinPipe.c')
-rw-r--r-- | win/tclWinPipe.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/win/tclWinPipe.c b/win/tclWinPipe.c index dd54a27..826265a 100644 --- a/win/tclWinPipe.c +++ b/win/tclWinPipe.c @@ -1495,10 +1495,10 @@ QuoteCmdLinePart( QuoteCmdLineBackslash(dsPtr, start, *bspos, NULL); start = *bspos; } - /* - * escape all special chars enclosed in quotes like `"..."`, note that here we + /* + * escape all special chars enclosed in quotes like `"..."`, note that here we * don't must escape `\` (with `\`), because it's outside of the main quotes, - * so `\` remains `\`, but important - not at end of part, because results as + * so `\` remains `\`, but important - not at end of part, because results as * before the quote, so `%\%\` should be escaped as `"%\%"\\`). */ TclDStringAppendLiteral(dsPtr, "\""); /* opening escape quote-char */ @@ -1653,7 +1653,7 @@ BuildCommandLine( special++; } /* rest of argument (and escape backslashes before closing main quote) */ - QuoteCmdLineBackslash(&ds, start, special, + QuoteCmdLineBackslash(&ds, start, special, (quote & CL_QUOTE) ? bspos : NULL); } if (quote & CL_QUOTE) { |