Changeset 464 for CMT


Ignore:
Timestamp:
Jul 19, 2008, 11:21:18 AM (16 years ago)
Author:
rybkin
Message:

See C.L. 365

Location:
CMT/HEAD
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CMT/HEAD/ChangeLog

    r463 r464  
     12008-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       
    162008-07-18    <rybkin@lal.in2p3.fr> 364
    27       
  • CMT/HEAD/source/cmt_system.cxx

    r463 r464  
    22342234      if (pos2 == cmt_string::npos)
    22352235        {
    2236           // the pattern was xxxx/..
     2236          // the pattern was xxxx/../bbbb
    22372237          //
    22382238          // 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
    22392243          //
    22402244          pos3 = p.find ("$");
     
    22422246            {
    22432247              dir.erase (0, pos1 + 3);
     2248              if (dir.size () < 2)
     2249                {
     2250                  dir = ".";
     2251                }
     2252              else
     2253                {
     2254                  dir.erase (0, 1);
     2255                }
    22442256            }
    22452257          else
Note: See TracChangeset for help on using the changeset viewer.