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

From: Eli Zaretskii <[email-masked]>
Date: Fri, 28 Jul 2023 09:40:44 +0300

> From: Mattias Engdegård <[email-masked]>
> Date: Thu, 27 Jul 2023 21:49:12 +0200
> Cc: [email-masked],
>  [email-masked]
> 
> 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.

That's okay: it just means we need to install your suggested patch to
the test as well.  Here, done.  Can you test and see that the test now
succeeds for you?