Lines Matching refs:bak_name

526  char bak_name[CCHMAXPATH];  in convert_archive()  local
565 strcpy(bak_name, full_name); in convert_archive()
575 strcpy(bak_name, target_name); in convert_archive()
581 strcat(bak_name, filespec); in convert_archive()
583 strcat(bak_name, dot); in convert_archive()
584 strcat(bak_name, backup_extension); in convert_archive()
753 if(file_exists(bak_name)&&!no_file_activity) in convert_archive()
754 if(file_unlink(bak_name)) in convert_archive()
755 error(M_CANT_UNLINK, bak_name); in convert_archive()
757 if(rename_with_check(full_name, bak_name)) in convert_archive()
759 msg_cprintf(H_HL|H_NFMT, M_SKIP_CANT_RENAME, full_name, bak_name); in convert_archive()
763 msg_cprintf(H_HL|H_NFMT, M_BACKED_UP, full_name, bak_name); in convert_archive()
776 if(rename_with_check(bak_name, full_name)) in convert_archive()
777 error(M_CANTRENAME, bak_name, full_name); in convert_archive()
800 if(rename_with_check(bak_name, full_name)) in convert_archive()
801 error(M_CANTRENAME, bak_name, full_name); in convert_archive()
817 if(rename_with_check(bak_name, full_name)) in convert_archive()
820 error(M_CANTRENAME, bak_name, full_name); in convert_archive()
842 if(rename_with_check(bak_name, full_name)) in convert_archive()
843 error(M_CANTRENAME, bak_name, full_name); in convert_archive()
853 if(rename_with_check(bak_name, full_name)) in convert_archive()
854 error(M_CANTRENAME, bak_name, full_name); in convert_archive()
870 if(rename_with_check(bak_name, full_name)) in convert_archive()
871 error(M_CANTRENAME, bak_name, full_name); in convert_archive()
886 msg_cprintf(H_HL|H_NFMT, M_DELETING_2, bak_name); in convert_archive()
888 if(file_unlink(bak_name)) in convert_archive()
889 error(M_CANT_UNLINK, bak_name); in convert_archive()
905 msg_cprintf(H_HL|H_NFMT, M_DELETING_2, bak_name); in convert_archive()
907 if(file_unlink(bak_name)) in convert_archive()
908 error(M_CANT_UNLINK, bak_name); in convert_archive()
919 msg_cprintf(H_HL|H_NFMT, M_RENAMING, bak_name, full_name); in convert_archive()
922 if(rename_with_check(bak_name, full_name)) in convert_archive()
923 error(M_CANTRENAME, bak_name, full_name); in convert_archive()