[Cmake-commits] CMake branch, next, updated. v3.7.2-2225-g9d16616
Brad King
brad.king at kitware.com
Tue Jan 17 11:48:45 EST 2017
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via 9d16616b45a62a9b398cff89d9801a7e9af264b0 (commit)
via 0ed885f742088b0e68103b87ee36837c37575628 (commit)
from 073b55ff67c0057b49b94c9ee3d89f6c79db7664 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=9d16616b45a62a9b398cff89d9801a7e9af264b0
commit 9d16616b45a62a9b398cff89d9801a7e9af264b0
Merge: 073b55f 0ed885f
Author: Brad King <brad.king at kitware.com>
AuthorDate: Tue Jan 17 11:48:44 2017 -0500
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Tue Jan 17 11:48:44 2017 -0500
Merge topic 'ExternalProject-restore-case-insensitive-hash' into next
0ed885f7 ExternalProject: Restore case-insensitive download hash check
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0ed885f742088b0e68103b87ee36837c37575628
commit 0ed885f742088b0e68103b87ee36837c37575628
Author: Brad King <brad.king at kitware.com>
AuthorDate: Tue Jan 17 11:45:18 2017 -0500
Commit: Brad King <brad.king at kitware.com>
CommitDate: Tue Jan 17 11:45:18 2017 -0500
ExternalProject: Restore case-insensitive download hash check
Refactoring in commit v3.6.0-rc1~47^2 (ExternalProject: Re-implement
download logic as a dedicated script, 2016-05-19) accidentally made the
download hash check case-sensitive. The hash comparison is done in hex
strings, so restore case-insensitive comparison since the case of the
hex digits does not matter.
Fixes: #16568
diff --git a/Modules/ExternalProject.cmake b/Modules/ExternalProject.cmake
index a0f731c..458c114 100644
--- a/Modules/ExternalProject.cmake
+++ b/Modules/ExternalProject.cmake
@@ -889,7 +889,7 @@ function(_ep_write_downloadfile_script script_filename REMOTE LOCAL timeout no_p
if("${hash}" MATCHES "${_ep_hash_regex}")
set(ALGO "${CMAKE_MATCH_1}")
- set(EXPECT_VALUE "${CMAKE_MATCH_2}")
+ string(TOLOWER "${CMAKE_MATCH_2}" EXPECT_VALUE)
else()
set(ALGO "")
set(EXPECT_VALUE "")
-----------------------------------------------------------------------
Summary of changes:
Modules/ExternalProject.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list