unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Glenn Morris <rgm@gnu.org>
Cc: 14250@debbugs.gnu.org
Subject: bug#14250: file locking fails if the hostname contains an @ character
Date: Mon, 25 Apr 2022 10:47:45 +0200	[thread overview]
Message-ID: <87czh55z2m.fsf_-_@gnus.org> (raw)
In-Reply-To: <wjobb07ngn.fsf@fencepost.gnu.org> (Glenn Morris's message of "Thu, 20 Jun 2013 12:31:52 -0400")

Glenn Morris <rgm@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





      reply	other threads:[~2022-04-25  8:47 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-23 19:55 bug#14250: 23.1; Files locked by myself Elrod, David
2013-04-23 20:23 ` Andreas Schwab
2013-04-30 19:16   ` Glenn Morris
     [not found]   ` <17E84D662FD8204FB8C0E82A88F93175376D5A80@wabexchp1.sharpamericas.com>
2013-06-19 21:57     ` bug#14250: FW: " Elrod, David
2013-06-19 22:29       ` Glenn Morris
2013-06-19 22:36         ` Glenn Morris
2013-06-19 22:49           ` Elrod, David
2013-06-19 22:55             ` Glenn Morris
2013-06-20  0:40               ` Elrod, David
2013-06-19 22:39         ` bug#14250: FW: " Elrod, David
2013-06-19 22:53           ` Glenn Morris
2013-06-19 23:31             ` Elrod, David
2013-06-20  6:47               ` Glenn Morris
2013-06-20 15:54                 ` Elrod, David
2013-06-20 16:31                 ` Glenn Morris
2022-04-25  8:47                   ` Lars Ingebrigtsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87czh55z2m.fsf_-_@gnus.org \
    --to=larsi@gnus.org \
    --cc=14250@debbugs.gnu.org \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).