Subject: Re: bug#64821: 30.0.50; write-region errs when overwriting an already open file

From: Mattias Engdegård <[email-masked]>
Date: Thu, 27 Jul 2023 21:49:12 +0200

27 juli 2023 kl. 21.02 skrev Eli Zaretskii <[email-masked]>:

> Thanks, but I think we should make userlock.el robust in the face of
> such applications.  How about the patch below instead?

That prevent the error but the test then fails since the modtime isn't actually changed.

Maybe you can set temporary-file-directory to a directory name with a symlink component and reproduce the problem on your system?