[cmake-developers] [CMake 0014765]: file(RELATIVE_PATH) does not handle /../ and /./ properly

Mantis Bug Tracker mantis at public.kitware.com
Wed Feb 19 15:15:12 EST 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=14765 
====================================================================== 
Reported By:                Alexander Richardson
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14765
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-02-19 15:15 EST
Last Modified:              2014-02-19 15:15 EST
====================================================================== 
Summary:                    file(RELATIVE_PATH) does not handle /../ and /./
properly
Description: 
It seems file(RELATIVE_PATH adds a .. element for every slash in the file name
even if it is a /./ or /../ directory name.

Steps to Reproduce: 
Run the attached testcase
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-02-19 15:15 Alexander RichardsonNew Issue                                  
 
2014-02-19 15:15 Alexander RichardsonFile Added: CMakeLists.txt                 
  
======================================================================



More information about the cmake-developers mailing list