Searched refs:oldname (Results 1 – 2 of 2) sorted by relevance
39 char oldname[PATH_MAX]; in check_backup() local40 snprintf(oldname, sizeof(oldname), "%s.old", in check_backup()42 unlink(oldname); in check_backup()43 rename(file->path, oldname); in check_backup()
2434 char oldname[PATH_MAX]; in trace__open_output() local2436 scnprintf(oldname, sizeof(oldname), "%s.old", filename); in trace__open_output()2437 unlink(oldname); in trace__open_output()2438 rename(filename, oldname); in trace__open_output()