Searched defs: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; local
416 new_file = old_file = 0;
420 old_file = malloc(strlen(outfile) + 5);
421 if (!old_file)
425 sprintf(old_file, "%s.bak", outfile);
444 unlink(old_file);
445 if (make_hard_link(outfile, old_file) == 0) {
468 if (rename(outfile, old_file)) {
474 rename(old_file, outfile); /* back out... */
487 if (old_file)
[all...]
/illumos-gate/usr/src/lib/libpp/common/
H A Dppop.c113 char* old_file; local
118 old_file = error_info.file;
226 error_info.file = old_file;
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm.c4216 char *old_file; local
4267 old_file = strtok(NULL, " \t");
4271 INJECT_ERROR1("OLD_FILE_NULL", old_file = NULL);
4272 if (old_cksum_str == NULL || old_size_str == NULL || old_file == NULL) {
4333 strcmp(old_file, curr_file) == 0) {

Completed in 84 milliseconds