summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-01-20 13:45:55 (GMT)
committerBrad King <brad.king@kitware.com>2016-01-20 13:55:23 (GMT)
commit1787269ef3c476ee1176c92c54e5b22f9cb7f3fe (patch)
tree7d57e297ec9ac6f2a5aa650042b50bfaebd48412 /Help
parentd8bced813cdd0c3eb7c2e3e150f513da04ded513 (diff)
downloadCMake-1787269ef3c476ee1176c92c54e5b22f9cb7f3fe.zip
CMake-1787269ef3c476ee1176c92c54e5b22f9cb7f3fe.tar.gz
CMake-1787269ef3c476ee1176c92c54e5b22f9cb7f3fe.tar.bz2
cmake: Fix `-E time` argument passing to child
Since this command was introduced in 2002 it has incorrectly constructed the child process command line by concatenating arguments separated by spaces with no quoting. Fix this by passing the command argument vector directly to RunSingleCommand without an intermediate quoting and re-parsing step. Reported-by: Andrey Pokrovskiy <wonder.mice@gmail.com>
Diffstat (limited to 'Help')
-rw-r--r--Help/release/dev/cmake-E-time-quoting.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Help/release/dev/cmake-E-time-quoting.rst b/Help/release/dev/cmake-E-time-quoting.rst
new file mode 100644
index 0000000..23b17c5
--- /dev/null
+++ b/Help/release/dev/cmake-E-time-quoting.rst
@@ -0,0 +1,7 @@
+cmake-E-time-quoting
+--------------------
+
+* The :manual:`cmake(1)` ``-E time`` command now properly passes arguments
+ with spaces or special characters through to the child process. This
+ may break scripts that worked around the bug with their own extra
+ quoting or escaping.