Searched refs:old_file (Results 1 - 4 of 4) sorted by relevance

/opensolaris-onvv-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...]
/opensolaris-onvv-gate/usr/src/tools/scripts/
H A Dwx2hg.sh279 typeset old_file old_repo new_file new_repo
281 which_repo $1 | read old_file old_repo
284 typeset old=$old_repo/$old_file
297 ( cd $old_repo; hg mv $old_file $new_file ) || \
301 print "moving $old_file from repository $old_repo"
305 ( cd $old_repo; hg rm $old_file ) || fail "hg rm failed"
/opensolaris-onvv-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;
/opensolaris-onvv-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm.c3698 char *old_file; local
3746 old_file = strtok(NULL, " \t");
3750 INJECT_ERROR1("OLD_FILE_NULL", old_file = NULL);
3751 if (old_cksum_str == NULL || old_size_str == NULL || old_file == NULL) {
3809 strcmp(old_file, curr_file) == 0) {

Completed in 97 milliseconds