summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/ProcessWin32.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-09-27 17:43:46 (GMT)
committerBrad King <brad.king@kitware.com>2006-09-27 17:43:46 (GMT)
commitdd332a00cc0169221243a231cd2474b6521aa11a (patch)
tree85d4722d4ac0dcbf665182a4dd2fe6f48f900fc0 /Source/kwsys/ProcessWin32.c
parent5d22d36c5da1e0838d50c90250c06ba6852fb7b4 (diff)
downloadCMake-dd332a00cc0169221243a231cd2474b6521aa11a.zip
CMake-dd332a00cc0169221243a231cd2474b6521aa11a.tar.gz
CMake-dd332a00cc0169221243a231cd2474b6521aa11a.tar.bz2
ENH: Re-implemented command line argument shell quoting to support several platforms with one code base.
Diffstat (limited to 'Source/kwsys/ProcessWin32.c')
-rw-r--r--Source/kwsys/ProcessWin32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/kwsys/ProcessWin32.c b/Source/kwsys/ProcessWin32.c
index 1fe6cb0..4f50d36 100644
--- a/Source/kwsys/ProcessWin32.c
+++ b/Source/kwsys/ProcessWin32.c
@@ -2089,7 +2089,7 @@ int kwsysProcessComputeCommandLength(kwsysProcess* cp,
{
/* Add the length of this argument. It already includes room
for a separating space or terminating null. */
- length += kwsysSystem_Windows_ShellArgumentSize(*arg);
+ length += kwsysSystem_Shell_GetArgumentSizeForWindows(*arg, 0);
}
}
@@ -2119,7 +2119,7 @@ void kwsysProcessComputeCommandLine(kwsysProcess* cp,
}
/* Add the current argument. */
- cmd = kwsysSystem_Windows_ShellArgument(*arg, cmd);
+ cmd = kwsysSystem_Shell_GetArgumentForWindows(*arg, cmd, 0);
}
/* Add the terminating null character to the command line. */