View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0010206 | CMake | CMake | public | 2010-01-29 17:15 | 2011-01-12 07:17 | ||||
Reporter | Jeremy Nicholl | ||||||||
Assigned To | Brad King | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake-2-8 | ||||||||
Target Version | CMake 2.8.4 | Fixed in Version | CMake 2.8.4 | ||||||
Summary | 0010206: UNC paths in MSYS include directories cause dependency resolution failures | ||||||||
Description | Using a UNC path in MSYS (e.g. //someserver/somedir) in the include path causes depend.make to fail to locate header files in /someserver/somedir, truncating the first slash. The patch in the additional information fixes the issue. Checking back through the CVS logs, it looks like the pos variable was originally initialized to 1 (see version 1.113 of the file) but was then removed in 1.114 and set to 0 in 1.115. | ||||||||
Additional Information | kwsys_stl::string SystemTools::ConvertToUnixOutputPath(const char* path) { kwsys_stl::string ret = path; // remove // except at the beginning might be a cygwin drive - kwsys_stl::string::size_type pos=0; + kwsys_stl::string::size_type pos=1; while((pos = ret.find("//", pos)) != kwsys_stl::string::npos) { ret.erase(pos, 1); } | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0023991) David Cole (manager) 2010-12-14 17:50 |
Opinion on this wide-reaching kwsys code change.....? |
(0023995) Brad King (manager) 2010-12-14 18:14 |
Ugh, dumb mistake on my part 5 years ago. Fixed: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=3a14b6e5 [^] |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2010-01-29 17:15 | Jeremy Nicholl | New Issue | |
2010-12-14 17:49 | David Cole | Assigned To | => Brad King |
2010-12-14 17:49 | David Cole | Status | new => assigned |
2010-12-14 17:50 | David Cole | Note Added: 0023991 | |
2010-12-14 18:14 | Brad King | Note Added: 0023995 | |
2010-12-14 18:14 | Brad King | Status | assigned => closed |
2010-12-14 18:14 | Brad King | Resolution | open => fixed |
2011-01-12 07:17 | David Cole | Fixed in Version | => CMake 2.8.4 |
2011-01-12 07:17 | David Cole | Target Version | => CMake 2.8.4 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |