Searched refs:old_file (Results 1 – 3 of 3) sorted by relevance
411 profile_filespec_t old_file; in write_data_to_file() local416 new_file = old_file = 0; in write_data_to_file()420 old_file = malloc(strlen(outfile) + 5); in write_data_to_file()421 if (!old_file) in write_data_to_file()425 sprintf(old_file, "%s.bak", outfile); in write_data_to_file()444 unlink(old_file); in write_data_to_file()445 if (make_hard_link(outfile, old_file) == 0) { in write_data_to_file()468 if (rename(outfile, old_file)) { in write_data_to_file()474 rename(old_file, outfile); /* back out... */ in write_data_to_file()487 if (old_file) in write_data_to_file()[all …]
113 char* old_file; in ppmapinclude() local118 old_file = error_info.file; in ppmapinclude()226 error_info.file = old_file; in ppmapinclude()
4030 char *old_file; in synchronize_BE_menu() local4078 old_file = strtok(NULL, " \t"); in synchronize_BE_menu()4082 INJECT_ERROR1("OLD_FILE_NULL", old_file = NULL); in synchronize_BE_menu()4083 if (old_cksum_str == NULL || old_size_str == NULL || old_file == NULL) { in synchronize_BE_menu()4141 strcmp(old_file, curr_file) == 0) { in synchronize_BE_menu()