GNU bug report logs - #46972
28.0.50; [feature/native-comp] Emacs locks itself during native compilation because of permission denied

Previous Next

Package: emacs;

Reported by: Matt M <mmerino <at> outlook.fr>

Date: Sat, 6 Mar 2021 17:43:01 UTC

Severity: normal

Found in version 28.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #41 received at 46972 <at> debbugs.gnu.org (full text, mbox):

From: Matt M <mmerino <at> outlook.fr>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: "46972 <at> debbugs.gnu.org" <46972 <at> debbugs.gnu.org>,
 "akrl <at> sdf.org" <akrl <at> sdf.org>
Subject: RE :  RE :  RE : RE :  RE : bug#46972: 28.0.50; [feature/native-comp] Emacs locks itself during native compilation because of permission denied
Date: Fri, 12 Mar 2021 12:53:58 +0000
[Message part 1 (text/plain, inline)]
;; 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 <eliz <at> gnu.org>
Envoyé : Friday, March 12, 2021 1:45:46 PM
À : Matt M <mmerino <at> outlook.fr>
Cc : akrl <at> sdf.org <akrl <at> sdf.org>; 46972 <at> debbugs.gnu.org <46972 <at> 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 <mmerino <at> outlook.fr>
> CC: "akrl <at> sdf.org" <akrl <at> sdf.org>, "46972 <at> debbugs.gnu.org"
>        <46972 <at> 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?
[Message part 2 (text/html, inline)]
[F038E641A1254CD3B029465A8B580B79.png (image/png, inline)]

This bug report was last modified 4 years and 131 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.