Subject: Re: bug#44631: 28.0.50; Byte compilation fails if destination file is a mount point

From: Lars Ingebrigtsen <[email-masked]>
Date: Sat, 14 Nov 2020 17:04:04 +0100

Philipp Stephani <[email-masked]> writes:

> Granted, this is rather exotic.

It's really exotic.  :-)  I'm just wondering -- did you happen upon this
while trying to do something, or is it just designed to trigger the bug?

> Nevertheless, byte-compile-file could
> fall back to a direct write-region without temporary file + rename, or
> rename-file could fall back to copy + remove on EBUSY (like EXDEV).

Hm...  the latter sounds like an easy fix, but aren't there more commond
cases where you get EBUSY where copy + remove would fail, too?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no