[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#48141: 28.0.50; Files left over by native compiler
From: |
Lars Ingebrigtsen |
Subject: |
bug#48141: 28.0.50; Files left over by native compiler |
Date: |
Sun, 02 May 2021 09:05:58 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Glenn Morris <rgm@gnu.org> writes:
>> and maybe we should put them in /tmp?
>
> IIUC, the temp files must be on the same partition as the destination
> .elc files, else the move would not be atomic.
Well, we could create them in /tmp, and then move them to
lisp/foo.elcABCDEF, and then move them to lisp/foo.elc -- and it's
unlikely that things go wrong between the first and the second move,
which should lead to fewer of these files being left behind them Emacs
segfaults and stuff when generating the .elc files.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no