View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0009182 | CMake | CMake | public | 2009-06-19 09:29 | 2016-06-10 14:30 | ||||
Reporter | Gavin Beatty | ||||||||
Assigned To | Bill Hoffman | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake-2-6 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0009182: file(TO_CMAKE_PATH) alters leading // haphazardly | ||||||||
Description | Take the following test case: macro(macro_test _in) file(TO_CMAKE_PATH "${_in}" _out) message(STATUS "${_in} => ${_out}") endmacro(macro_test _in _out) macro_test("//hello/") macro_test("//hello//") the output is: -- //hello/ => //hello -- //hello// => /hello Why does the leading // disappear with the second input? CMake should never alter the number of leading '/'s or at least should never reduce from >1 to 1 (on POSIX a leading // is left to the implementation to handle as it wishes, e.g., with CIFS) | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0016741) Gavin Beatty (reporter) 2009-06-19 09:43 |
The above occurs with CMake-2.6.4 on SuSE Linux (SLES 10.1) compiled from source. |
(0041571) Kitware Robot (administrator) 2016-06-10 14:27 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2009-06-19 09:29 | Gavin Beatty | New Issue | |
2009-06-19 09:43 | Gavin Beatty | Note Added: 0016741 | |
2009-09-14 13:17 | Bill Hoffman | Status | new => assigned |
2009-09-14 13:17 | Bill Hoffman | Assigned To | => Bill Hoffman |
2016-06-10 14:27 | Kitware Robot | Note Added: 0041571 | |
2016-06-10 14:27 | Kitware Robot | Status | assigned => resolved |
2016-06-10 14:27 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:30 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |