Changeset 205


Ignore:
Timestamp:
Jun 15, 2006, 11:59:30 AM (18 years ago)
Author:
garonne
Message:

Correct touch function to conserve permission

Location:
CMT/HEAD/source
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CMT/HEAD/source/cmt_cvs.cxx

    r201 r205  
    13251325        { 
    13261326   
    1327             cout << "# --> udapte the file timestamps" << endl;                 
     1327            cout << "# --> update the file timestamps" << endl;                 
    13281328            for (i = 0; i < branch_vector.size (); i++)
    13291329            {   
     
    13651365    { 
    13661366   
    1367         cout << "# --> udapte the file timestamps" << endl;                 
     1367        cout << "# --> update the file timestamps" << endl;                 
    13681368        for (i = 0; i < branch_vector.size (); i++)
    13691369        {       
  • CMT/HEAD/source/cmt_system.cxx

    r202 r205  
    425425            static cmt_string s;
    426426            s.read (name);
    427             unlink  (name);
     427            //unlink  (name);           
    428428            FILE* f = fopen (name, "wb");
    429429            if (f != NULL)
     
    433433              return (true);
    434434            }
    435            
     435            chmod (name.c_str(), 0777);
    436436/*            FILE* f = fopen (name, "a+");
    437437
Note: See TracChangeset for help on using the changeset viewer.