MantisBT - CMake | |||||
| View Issue Details | |||||
| 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) | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| 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 | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||