From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#14250: file locking fails if the hostname contains an @ character Date: Mon, 25 Apr 2022 10:47:45 +0200 Message-ID: <87czh55z2m.fsf_-_@gnus.org> References: <17E84D662FD8204FB8C0E82A88F93175376D5A39@wabexchp1.sharpamericas.com> <17E84D662FD8204FB8C0E82A88F93175376D5A80@wabexchp1.sharpamericas.com> <17E84D662FD8204FB8C0E82A88F931755F8EB391@wabexchp1.sharpamericas.com> <17E84D662FD8204FB8C0E82A88F931755F8EB607@wabexchp1.sharpamericas.com> <8pppvhpv95.fsf_-_@fencepost.gnu.org> <17E84D662FD8204FB8C0E82A88F931755F8EB63A@wabexchp1.sharpamericas.com> <43vc59mg6z.fsf@fencepost.gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6975"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 14250@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 25 11:06:01 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1niufR-0001aj-6O for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 25 Apr 2022 11:06:01 +0200 Original-Received: from localhost ([::1]:40522 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1niufP-0001uB-Oz for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 25 Apr 2022 05:05:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44114) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1niuO2-0003bo-IU for bug-gnu-emacs@gnu.org; Mon, 25 Apr 2022 04:48:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39356) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1niuO2-0006Cb-98 for bug-gnu-emacs@gnu.org; Mon, 25 Apr 2022 04:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1niuO2-0005YY-3e for bug-gnu-emacs@gnu.org; Mon, 25 Apr 2022 04:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 25 Apr 2022 08:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14250 X-GNU-PR-Package: emacs Original-Received: via spool by 14250-submit@debbugs.gnu.org id=B14250.165087647621315 (code B ref 14250); Mon, 25 Apr 2022 08:48:02 +0000 Original-Received: (at 14250) by debbugs.gnu.org; 25 Apr 2022 08:47:56 +0000 Original-Received: from localhost ([127.0.0.1]:33250 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1niuNw-0005Xi-AF for submit@debbugs.gnu.org; Mon, 25 Apr 2022 04:47:56 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:48164) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1niuNu-0005WY-RQ for 14250@debbugs.gnu.org; Mon, 25 Apr 2022 04:47:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=+7H+b6iy/rbkfEWaI8oduJjA+SHT0vihrCIkYzbslcM=; b=SFhVSQV5602s6z3vzdRCEYyeym 8i7YjYsAaiUxVWOtqhdoLDlJZLbiwZ+Hy8jLq/SxsfirMlH4eLcOnr3WauT4jkI0GD0+mFNGIXZaV j0WC+as2wp+BNtYxNKYZ9TKYQqEmpyp7eWaG7GwszgWtgUg8JuTztpG4KdrmQalkinu4=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1niuNl-0008TD-Qm; Mon, 25 Apr 2022 10:47:48 +0200 X-Now-Playing: Prince's _Sign 'O' the Times (4): Vault Tracks I_: "All My Dreams" In-Reply-To: (Glenn Morris's message of "Thu, 20 Jun 2013 12:31:52 -0400") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:230622 Archived-At: Glenn Morris 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