Searched refs:old_inst_file (Results 1 – 1 of 1) sorted by relevance
3727 char *old_inst_file = NULL; in flush_path_to_inst() local3745 old_inst_file = s_malloc(inst_strlen + PID_STR_LEN + 6); in flush_path_to_inst()3785 (void) snprintf(old_inst_file, inst_strlen + PID_STR_LEN + 6, in flush_path_to_inst()3788 if (stat(old_inst_file, &sb) == 0) { in flush_path_to_inst()3789 s_unlink(old_inst_file); in flush_path_to_inst()3792 if ((old_inst_file_fp = fopen(old_inst_file, "w")) == NULL) { in flush_path_to_inst()3801 err_print(CANT_UPDATE, old_inst_file); in flush_path_to_inst()3818 vprint(INFO_MID, CANT_UPDATE, old_inst_file); in flush_path_to_inst()3828 (void) chmod(old_inst_file, 0444); in flush_path_to_inst()3839 if ((err = rename(old_inst_file, old_inst_file_npid)) != 0) { in flush_path_to_inst()[all …]