View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014283 | CMake | CMake | public | 2013-07-09 10:50 | 2013-12-02 08:51 | ||||
Reporter | Renaud Barate | ||||||||
Assigned To | Brad King | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | Linux | OS | OS Version | ||||||
Product Version | CMake 2.8.11.2 | ||||||||
Target Version | CMake 2.8.12 | Fixed in Version | CMake 2.8.12 | ||||||
Summary | 0014283: Infinite loop when using CMAKE_FIND_ROOT_PATH variable | ||||||||
Description | When the variable CMAKE_FIND_ROOT_PATH is set to "/" and the macro FIND_PROGRAM is called with Windows-style paths in the PATHS parameter, cmake goes in an infinite loop. The attached file reproduces this problem. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | CMakeLists.txt [^] (201 bytes) 2013-07-09 10:50 [Show Content] | ||||||||
Relationships | |
Relationships |
Notes | |
(0033523) Brad King (manager) 2013-07-09 15:55 |
This appears to have been introduced way back in 2004: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b221d046 [^] The "while ( path.size() > dir.size() );" code assumes that eventually the parent directory will be shorter, but "C:/" is never shorter than "/". |
(0033525) Brad King (manager) 2013-07-11 09:09 |
Fixed in upstream KWSys here: http://public.kitware.com/gitweb?p=KWSys.git;a=commitdiff;h=beef6819 [^] and integrated into CMake here: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0a44fa4c [^] |
(0034642) Robert Maynard (manager) 2013-12-02 08:51 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2013-07-09 10:50 | Renaud Barate | New Issue | |
2013-07-09 10:50 | Renaud Barate | File Added: CMakeLists.txt | |
2013-07-09 15:55 | Brad King | Note Added: 0033523 | |
2013-07-10 08:30 | Brad King | Assigned To | => Brad King |
2013-07-10 08:30 | Brad King | Status | new => assigned |
2013-07-10 08:30 | Brad King | Target Version | => CMake 2.8.12 |
2013-07-11 09:09 | Brad King | Note Added: 0033525 | |
2013-07-11 09:09 | Brad King | Status | assigned => resolved |
2013-07-11 09:09 | Brad King | Resolution | open => fixed |
2013-07-11 09:09 | Brad King | Fixed in Version | => CMake 2.8.12 |
2013-12-02 08:51 | Robert Maynard | Note Added: 0034642 | |
2013-12-02 08:51 | Robert Maynard | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |