bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#33564: Incorrect path canonicalisation


From: Andreas Schwab
Subject: bug#33564: Incorrect path canonicalisation
Date: Sat, 01 Dec 2018 21:27:27 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.90 (gnu/linux)

On Dez 01 2018, Mattias Andrée <maandree@kth.se> 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@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."





reply via email to

[Prev in Thread] Current Thread [Next in Thread]