[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#54294: 29.0.50; Emacs can't unlock files with --no-build-details
From: |
Michael Albinus |
Subject: |
bug#54294: 29.0.50; Emacs can't unlock files with --no-build-details |
Date: |
Tue, 08 Mar 2022 08:55:07 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
Hi,
>> 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.
I've applied a similar patch for Tramp, pushed to master. Will also be
available with Tramp 2.5.2.3, the next GNU ELPA release.
Best regards, Michael.