Changeset 464
- Timestamp:
- Jul 19, 2008, 11:21:18 AM (16 years ago)
- Location:
- CMT/HEAD
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
CMT/HEAD/ChangeLog
r463 r464 1 2008-07-19 <rybkin@lal.in2p3.fr> 365 2 3 * source/cmt_system.cxx: In the CmtSystem::compress_path function, take 4 into account one more boundary case 5 1 6 2008-07-18 <rybkin@lal.in2p3.fr> 364 2 7 -
CMT/HEAD/source/cmt_system.cxx
r463 r464 2234 2234 if (pos2 == cmt_string::npos) 2235 2235 { 2236 // the pattern was xxxx/.. 2236 // the pattern was xxxx/../bbbb 2237 2237 // 2238 2238 // so xxxx is [0:pos1-1] 2239 // 2240 // erase the "xxxx/.." pattern 2241 // result will be "/bbbb" 2242 // so, need to process a little more 2239 2243 // 2240 2244 pos3 = p.find ("$"); … … 2242 2246 { 2243 2247 dir.erase (0, pos1 + 3); 2248 if (dir.size () < 2) 2249 { 2250 dir = "."; 2251 } 2252 else 2253 { 2254 dir.erase (0, 1); 2255 } 2244 2256 } 2245 2257 else
Note: See TracChangeset
for help on using the changeset viewer.