Home
last modified time | relevance | path

Searched refs:old_file (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_file.c411 profile_filespec_t old_file; in write_data_to_file() local
416 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 …]
/titanic_50/usr/src/lib/libpp/common/
H A Dppop.c113 char* old_file; in ppmapinclude() local
118 old_file = error_info.file; in ppmapinclude()
226 error_info.file = old_file; in ppmapinclude()
/titanic_50/usr/src/cmd/boot/bootadm/
H A Dbootadm.c4030 char *old_file; in synchronize_BE_menu() local
4078 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()