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

Correct touch function to conserve permission

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.