GNU bug report logs - #54294
29.0.50; Emacs can't unlock files with --no-build-details

Previous Next

Package: emacs;

Reported by: Philipp Stephani <p.stephani2 <at> gmail.com>

Date: Mon, 7 Mar 2022 16:50:02 UTC

Severity: normal

Found in version 29.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 54294 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Philipp Stephani <p.stephani2 <at> gmail.com>
Cc: 54294 <at> debbugs.gnu.org
Subject: Re: bug#54294: 29.0.50; Emacs can't unlock files with
 --no-build-details
Date: Mon, 07 Mar 2022 18:03:31 +0100
Philipp Stephani <p.stephani2 <at> gmail.com> writes:

> emacs -Q -batch --no-build-details -eval '(write-region "" nil "/tmp/test.txt")'
>
> /tmp/.#test.txt still exists.  This is probably because the function
> `current_lock_owner' doesn't handle the case where `system-name' returns
> nil (it assumes the file is remote in that case).

Yup.  I've now made the obvious fix in Emacs 29.

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




This bug report was last modified 3 years and 73 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.