Changeset 193
- Timestamp:
- May 31, 2006, 10:23:37 PM (18 years ago)
- Location:
- CMT/HEAD/source
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
CMT/HEAD/source/cmt_system.cxx
r179 r193 246 246 247 247 return (true); 248 } 249 250 //-------------------------------------------------- 251 void CmtSystem::realpath (const cmt_string& path, cmt_string& result) 252 { 253 cmt_string here = CmtSystem::pwd (); 254 CmtSystem::cd (path); 255 result = CmtSystem::pwd (); 256 CmtSystem::cd (here); 248 257 } 249 258 -
CMT/HEAD/source/cmt_system.h
r179 r193 37 37 const cmt_string& suffix, 38 38 cmt_string& result); 39 40 // Resolve symbolic links in a path. 41 static void realpath (const cmt_string& path, cmt_string& result); 39 42 40 43 static void dirname (const cmt_string& file_name, cmt_string& result);
Note: See TracChangeset
for help on using the changeset viewer.