|
From: | Matt M |
Subject: | bug#46972: 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 00:26:18 +0000 |
The Following patch seems to fix my problem : --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -3778,13 +3778,7 @@ comp-delete-or-replace-file (while (condition-case _ (progn - ;; oldfile maybe recreated by another Emacs in - ;; between the following two rename-file calls - (if (file-exists-p oldfile) - (rename-file oldfile (make-temp-file-internal - (file-name-sans-extension oldfile) - nil ".eln.old" nil) - t)) + (delete-file oldfile) (when newfile (rename-file newfile oldfile nil)) ;; Keep on trying. Changed the call to rename-file to delete-file. De :
Eli Zaretskii > From: Andrea Corallo <akrl@sdf.org> |
[Prev in Thread] | Current Thread | [Next in Thread] |