;; oldfile maybe recreated by another Emacs in ;; between the following two rename-file calls I don’t know what code but the comment says that it can be. This seems to be unique to Windows for some reason but I don’t know why. De : Eli Zaretskii Envoyé : Friday, March 12, 2021 1:45:46 PM À : Matt M Cc : akrl@sdf.org ; 46972@debbugs.gnu.org <46972@debbugs.gnu.org> Objet : Re: RE : RE : RE : RE : bug#46972: 28.0.50; [feature/native-comp] Emacs locks itself during native compilation because of permission denied > From: Matt M > CC: "akrl@sdf.org" , "46972@debbugs.gnu.org" > <46972@debbugs.gnu.org> > Date: Fri, 12 Mar 2021 11:37:22 +0000 > > If I understand correctly, this is what happens currently : > > 1 Rename oldfile to new temporary name > 2 Rename newfile to oldfile > 3 If rename in 2) failed because oldfile has been recreated, go back to 1) Why would oldfile be recreated? which code recreates it?