Home
last modified time | relevance | path

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

/illumos-gate/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 …]
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/
H A Dppop.c119 char* old_file; in ppmapinclude() local
124 old_file = error_info.file; in ppmapinclude()
232 error_info.file = old_file; in ppmapinclude()
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm.c4367 char *old_file; in synchronize_BE_menu() local
4418 old_file = strtok(NULL, " \t"); in synchronize_BE_menu()
4422 INJECT_ERROR1("OLD_FILE_NULL", old_file = NULL); in synchronize_BE_menu()
4423 if (old_cksum_str == NULL || old_size_str == NULL || old_file == NULL) { in synchronize_BE_menu()
4484 strcmp(old_file, curr_file) == 0) { in synchronize_BE_menu()