Searched refs:newfilename (Results 1 – 1 of 1) sorted by relevance
78 char *newfilename; in main() local113 newfilename = alloca (strlen (oldfilename) + sizeof (".renamed")); in main()114 strcpy (newfilename, oldfilename); in main()115 strcat (newfilename, ".renamed"); in main()116 if (rename (oldfilename, newfilename)) in main()149 if (rename (newfilename, oldfilename)) in main()