Searched refs:oldfile (Results 1 - 3 of 3) sorted by relevance
/ast/src/cmd/proto/ |
H A D | proto.c | 250 * rename newfile to oldfile 255 replace(const char* newfile, const char* oldfile, int preserve) argument 260 if (stat(oldfile, &st)) 266 if (remove(oldfile) || rename(newfile, oldfile)) 269 chmod(oldfile, st.st_mode); 274 preserve = utime(oldfile, ut);
|
/ast/src/lib/libast/vmalloc/ |
H A D | vmdebug.c | 476 char *file, *oldfile; local 511 oldfile = DBFILE(addr); 522 dbsetinfo((Vmuchar_t*)addr,oldsize,oldfile,oldline);
|
/ast/src/cmd/INIT/ |
H A D | proto.c | 172 replace __PARAM__((const char* newfile, const char* oldfile, int preserve), (newfile, oldfile, preserve)) __OTORP__(const char* newfile; const char* oldfile; int preserve;){ 176 if (stat(oldfile, &st)) 182 if (remove(oldfile) || rename(newfile, oldfile)) 185 chmod(oldfile, st.st_mode); 190 preserve = utime(oldfile, ut);
|
Completed in 25 milliseconds