GNU bug report logs - #14250
file locking fails if the hostname contains an @ character

Previous Next

Package: emacs;

Reported by: "Elrod, David" <elrodd <at> sharplabs.com>

Date: Tue, 23 Apr 2013 20:07:01 UTC

Severity: minor

Found in version 23.1

Fixed in version 29.1

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

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 14250 <at> debbugs.gnu.org
Subject: Re: bug#14250: file locking fails if the hostname contains an @
 character
Date: Mon, 25 Apr 2022 10:47:45 +0200
Glenn Morris <rgm <at> gnu.org> writes:

> I'm surprised that one can even set a hostname to something with an "@";
> but if the system otherwise seems to work fine, Emacs should not fail in
> this cryptic way. Eg it could escape any "@" characters in the hostname
> when making the lockfile name.

I've now fixed this in Emacs 29 (but I'm not sure whether it's really
worth it -- this is one of those "don't do that, then" cases, so if
somebody wants to revert the patch and just leave this failing, that's
fine with me).

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




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

Previous Next


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