GNU bug report logs - #33564
Incorrect path canonicalisation

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Mattias Andrée <maandree@HIDDEN>; Keywords: notabug; dated Sat, 1 Dec 2018 20:06:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 33564 <at> debbugs.gnu.org:


Received: (at 33564) by debbugs.gnu.org; 1 Dec 2018 20:35:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 01 15:35:20 2018
Received: from localhost ([127.0.0.1]:57307 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gTByy-0004jc-Ff
	for submit <at> debbugs.gnu.org; Sat, 01 Dec 2018 15:35:20 -0500
Received: from smtp-3.sys.kth.se ([130.237.48.192]:38306)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maandree@HIDDEN>) id 1gTByw-0004jT-1R
 for 33564 <at> debbugs.gnu.org; Sat, 01 Dec 2018 15:35:19 -0500
Received: from smtp-3.sys.kth.se (localhost.localdomain [127.0.0.1])
 by smtp-3.sys.kth.se (Postfix) with ESMTP id AAD351C64;
 Sat,  1 Dec 2018 21:35:16 +0100 (CET)
X-Virus-Scanned: by amavisd-new at kth.se
Received: from smtp-3.sys.kth.se ([127.0.0.1])
 by smtp-3.sys.kth.se (smtp-3.sys.kth.se [127.0.0.1]) (amavisd-new, port 10024)
 with LMTP id nWhsyNNi2UxF; Sat,  1 Dec 2018 21:35:16 +0100 (CET)
X-KTH-Auth: maandree [81.228.219.220]
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kth.se; s=default;
 t=1543696516; bh=wxbV9Rr3nyt6uMjEfE3YnA/34nTASCmDFgedPlcvasw=;
 h=Date:From:To:Cc:Subject:In-Reply-To:References;
 b=FkGgGfX6OC2YAykWhbqg60Nr7Hic08MMw1a98HfMdrogzlxEGrYYl7dEJh7ZG4wi1
 sbNAGGEB4ZJ+pnjJOq57dPBKVHsjGB8QgT6DUMVvT02qfgfHzJkYC59NUijjI+qALo
 vrKZyr6+mjLZB3E8mO8MiHxjOhTMp8S0rLMPzQ5M=
X-KTH-mail-from: maandree@HIDDEN
Received: from localhost.localdomain (81-228-219-220-no43.tbcn.telia.com
 [81.228.219.220])
 by smtp-3.sys.kth.se (Postfix) with ESMTPSA id B1832F8C;
 Sat,  1 Dec 2018 21:35:15 +0100 (CET)
Date: Sat, 1 Dec 2018 21:35:14 +0100
From: Mattias =?UTF-8?B?QW5kcsOpZQ==?= <maandree@HIDDEN>
To: Andreas Schwab <schwab@HIDDEN>
Subject: Re: bug#33564: Incorrect path canonicalisation
Message-ID: <20181201213514.5c22626f.maandree@HIDDEN>
In-Reply-To: <87lg592dsg.fsf@HIDDEN>
References: <20181201210450.47f17692.maandree@HIDDEN>
 <87lg592dsg.fsf@HIDDEN>
X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu)
X-Awesomeness: 120 %
User-Agent: Claws Mail
X-Operating-System: GNU/Linux
X-Clacks-Overhead: GNU Terry Pratchett
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.2 (--)
X-Debbugs-Envelope-To: 33564
Cc: 33564 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.2 (---)

On Sat, 1 Dec 2018 21:27:27 +0100
Andreas Schwab <schwab@HIDDEN> wrote:

> On Dez 01 2018, Mattias Andr=C3=A9e <maandree@HIDDEN> wrote:
>=20
> > Emacs 26.1 removes ..'s incorrectly from file names.
> > Emacs removes the directory in front the .. rather than
> > getting its parent directory. =20
>=20
> This is deliberate.  Emacs never consults the filesystem when
> canonicalizing filenames, as documented in expand-file-name.  This is
> consistent with the logical view of the filesystem, and how the shell
> builtin cd handles it.

What is the rationale for this? No other program Bash and Emacs
behave this way, including the coreutils.

It seems odd that the Bash suggest file from the wrong directory
so that even the coreutils cannot find them, only Emacs.

>=20
> Andreas.
>=20





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#33564; Package emacs. Full text available.
Added tag(s) notabug. Request was from Eli Zaretskii <eliz@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 33564 <at> debbugs.gnu.org:


Received: (at 33564) by debbugs.gnu.org; 1 Dec 2018 20:31:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 01 15:31:25 2018
Received: from localhost ([127.0.0.1]:57302 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gTBvA-0004d6-SO
	for submit <at> debbugs.gnu.org; Sat, 01 Dec 2018 15:31:25 -0500
Received: from eggs.gnu.org ([208.118.235.92]:58269)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1gTBvA-0004cv-6w
 for 33564 <at> debbugs.gnu.org; Sat, 01 Dec 2018 15:31:24 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1gTBv2-0007l7-1P
 for 33564 <at> debbugs.gnu.org; Sat, 01 Dec 2018 15:31:19 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39188)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1gTBus-0007aK-Rl; Sat, 01 Dec 2018 15:31:06 -0500
Received: from [176.228.60.248] (port=4989 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1gTBur-0003f5-4Y; Sat, 01 Dec 2018 15:31:06 -0500
Date: Sat, 01 Dec 2018 22:30:49 +0200
Message-Id: <83efb1at1i.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Mattias =?utf-8?Q?Andr=C3=A9e?= <maandree@HIDDEN>
In-reply-to: <20181201210450.47f17692.maandree@HIDDEN> (message from Mattias
 =?utf-8?Q?Andr=C3=A9e?= on Sat, 1 Dec 2018 21:04:50 +0100)
Subject: Re: bug#33564: Incorrect path canonicalisation
References: <20181201210450.47f17692.maandree@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 33564
Cc: 33564 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

tags 33564 notabug
thanks

> Date: Sat, 1 Dec 2018 21:04:50 +0100
> From: Mattias Andrée <maandree@HIDDEN>
> 
> 	cd
> 	mkdir -p 1/2
> 	cd 1/2
> 	echo 3 > ../../3
> 	ln -s ~ 4
> 	echo 5 > 5
> 	emacs 4/../5 # works, but shouldn't
> 	emacs 4/../$USER/3 # does not works, should

This is by design: expand-file-name doesn't follow symlinks.  It's
documented not to do that: see the doc string and the ELisp manual.

> On Linux, the proper way to get the canonical path
> for a file with the file descriptor $fd:

expand-file-name doesn't aim at yielding the canonical file name in
that sense.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#33564; Package emacs. Full text available.

Message received at 33564 <at> debbugs.gnu.org:


Received: (at 33564) by debbugs.gnu.org; 1 Dec 2018 20:27:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 01 15:27:33 2018
Received: from localhost ([127.0.0.1]:57294 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gTBrR-0004Vk-0i
	for submit <at> debbugs.gnu.org; Sat, 01 Dec 2018 15:27:33 -0500
Received: from mail-out.m-online.net ([212.18.0.9]:56425)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <whitebox@HIDDEN>) id 1gTBrO-0004Vb-HX
 for 33564 <at> debbugs.gnu.org; Sat, 01 Dec 2018 15:27:31 -0500
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 436jVT4HyHz1qymV;
 Sat,  1 Dec 2018 21:27:29 +0100 (CET)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.70])
 by mail.m-online.net (Postfix) with ESMTP id 436jVT3mZQz1qtdq;
 Sat,  1 Dec 2018 21:27:29 +0100 (CET)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,
 port 10024)
 with ESMTP id AQUK1F0fFCuM; Sat,  1 Dec 2018 21:27:28 +0100 (CET)
X-Auth-Info: h8pBr621byJ6NlKtrgZr6TDzncufBbs7XTzRVNAouC+HGuRZXtikDtA6KbcyIX6U
Received: from igel.home (ppp-188-174-144-54.dynamic.mnet-online.de
 [188.174.144.54])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mail.mnet-online.de (Postfix) with ESMTPSA;
 Sat,  1 Dec 2018 21:27:28 +0100 (CET)
Received: by igel.home (Postfix, from userid 1000)
 id 814C92C1E85; Sat,  1 Dec 2018 21:27:27 +0100 (CET)
From: Andreas Schwab <schwab@HIDDEN>
To: Mattias =?utf-8?Q?Andr=C3=A9e?= <maandree@HIDDEN>
Subject: Re: bug#33564: Incorrect path canonicalisation
References: <20181201210450.47f17692.maandree@HIDDEN>
X-Yow: Oh, I get it!!  ``The BEACH goes on,'' huh, SONNY??
Date: Sat, 01 Dec 2018 21:27:27 +0100
In-Reply-To: <20181201210450.47f17692.maandree@HIDDEN> ("Mattias
 =?utf-8?Q?Andr=C3=A9e=22's?=
 message of "Sat, 1 Dec 2018 21:04:50 +0100")
Message-ID: <87lg592dsg.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.90 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 33564
Cc: 33564 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On Dez 01 2018, Mattias Andrée <maandree@HIDDEN> wrote:

> Emacs 26.1 removes ..'s incorrectly from file names.
> Emacs removes the directory in front the .. rather than
> getting its parent directory.

This is deliberate.  Emacs never consults the filesystem when
canonicalizing filenames, as documented in expand-file-name.  This is
consistent with the logical view of the filesystem, and how the shell
builtin cd handles it.

Andreas.

-- 
Andreas Schwab, schwab@HIDDEN
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#33564; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 1 Dec 2018 20:05:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 01 15:05:13 2018
Received: from localhost ([127.0.0.1]:57274 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gTBVp-0003xQ-Hs
	for submit <at> debbugs.gnu.org; Sat, 01 Dec 2018 15:05:13 -0500
Received: from eggs.gnu.org ([208.118.235.92]:52896)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maandree@HIDDEN>) id 1gTBVn-0003xA-7c
 for submit <at> debbugs.gnu.org; Sat, 01 Dec 2018 15:05:12 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <maandree@HIDDEN>) id 1gTBVg-0000Me-Ga
 for submit <at> debbugs.gnu.org; Sat, 01 Dec 2018 15:05:05 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FROM_EXCESS_BASE64
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:41997)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <maandree@HIDDEN>) id 1gTBVe-0000MQ-P3
 for submit <at> debbugs.gnu.org; Sat, 01 Dec 2018 15:05:03 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34271)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <maandree@HIDDEN>) id 1gTBVd-0007wt-Vl
 for bug-gnu-emacs@HIDDEN; Sat, 01 Dec 2018 15:05:02 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <maandree@HIDDEN>) id 1gTBVZ-0000Ld-1V
 for bug-gnu-emacs@HIDDEN; Sat, 01 Dec 2018 15:05:01 -0500
Received: from smtp-4.sys.kth.se ([2001:6b0:1:1300:250:56ff:fea6:2de3]:42706)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <maandree@HIDDEN>) id 1gTBVY-0000K4-N7
 for bug-gnu-emacs@HIDDEN; Sat, 01 Dec 2018 15:04:56 -0500
Received: from smtp-4.sys.kth.se (localhost.localdomain [127.0.0.1])
 by smtp-4.sys.kth.se (Postfix) with ESMTP id BF9912FF
 for <bug-gnu-emacs@HIDDEN>; Sat,  1 Dec 2018 21:04:52 +0100 (CET)
X-Virus-Scanned: by amavisd-new at kth.se
Received: from smtp-4.sys.kth.se ([127.0.0.1])
 by smtp-4.sys.kth.se (smtp-4.sys.kth.se [127.0.0.1]) (amavisd-new, port 10024)
 with LMTP id UK5H9s6Kemq8 for <bug-gnu-emacs@HIDDEN>;
 Sat,  1 Dec 2018 21:04:51 +0100 (CET)
X-KTH-Auth: maandree [81.228.219.220]
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kth.se; s=default;
 t=1543694691; bh=YqrLdfsU65i4KJ569m1Psy3XJ6JfgcJKX/wVls+1CJk=;
 h=Date:From:To:Subject;
 b=RinctbdVG6XGH74ZiPxcOLPRu4TrHK2UOWutlEZV1L8Egl5OOfdA6OflrlGXfhnLb
 xxsLUwH67BljpSzjLCa+j5grQlPJJL5LeP4A5o6A7pg+ZwqKtM3ueOxUNjEYC5yzUC
 nvpfVoPkUT+iXKhZPSrjkbYDY10YqeMkrkckEydo=
X-KTH-mail-from: maandree@HIDDEN
X-KTH-rcpt-to: bug-gnu-emacs@HIDDEN
Received: from localhost.localdomain (81-228-219-220-no43.tbcn.telia.com
 [81.228.219.220])
 by smtp-4.sys.kth.se (Postfix) with ESMTPSA id 6AD142CD
 for <bug-gnu-emacs@HIDDEN>; Sat,  1 Dec 2018 21:04:51 +0100 (CET)
Date: Sat, 1 Dec 2018 21:04:50 +0100
From: Mattias =?UTF-8?B?QW5kcsOpZQ==?= <maandree@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: Incorrect path canonicalisation
Message-ID: <20181201210450.47f17692.maandree@HIDDEN>
X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu)
X-Awesomeness: 120 %
User-Agent: Claws Mail
X-Operating-System: GNU/Linux
X-Clacks-Overhead: GNU Terry Pratchett
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -3.9 (---)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.9 (----)

Emacs 26.1 removes ..'s incorrectly from file names.
Emacs removes the directory in front the .. rather than
getting its parent directory.

Example:

	cd
	mkdir -p 1/2
	cd 1/2
	echo 3 > ../../3
	ln -s ~ 4
	echo 5 > 5
	emacs 4/../5 # works, but shouldn't
	emacs 4/../$USER/3 # does not works, should

On Linux, the proper way to get the canonical path
for a file with the file descriptor $fd:

	stat(3) /dev/fd/$fd
	p := readlink(3) /dev/fd/$fd
	if (st_nlinks != 0) {
		stat(3) /dev/fd/$fd
		if (st_nlinks == 0) {
			p := readlink(3) /dev/fd/$fd
			remove " (deleted)" from the end of p
		}
	} else {
		remove " (deleted)" from the end of p
	}
	canonical path is p




Acknowledgement sent to Mattias Andrée <maandree@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#33564; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 1 Dec 2018 20:45:01 UTC

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