1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-20 18:17:20 +00:00
emacs/doc
Paul Eggert 14fb657ba8 Fix expand-file-name symlink-to-dir bug
Problem reported by Yegor Timoshenko (Bug#26911),
and I ran into it myself recently in normal-top-level.
* doc/lispref/files.texi (File Name Expansion), etc/NEWS: Mention this.
* src/fileio.c (Fexpand_file_name): Expand "/a/b/." to "/a/b/" not
"/a/b", to avoid misinterpreting a symlink "/a/b".  Similarly,
expand "/a/b/c/.." to "/a/b/" not "/a/b".
* test/lisp/net/tramp-tests.el (tramp-test05-expand-file-name):
Adjust to match new behavior.
(tramp-test05-expand-file-name-relative): This test now succeeds,
at least on Fedora 31.
* test/src/fileio-tests.el:
(fileio-tests--expand-file-name-trailing-slash)	New test.
2020-08-26 13:27:56 -07:00
..
emacs Document ispell comment/string checking commands in the user manual 2020-08-26 13:19:46 +02:00
lispintro Merge from origin/emacs-27 2020-05-23 07:50:29 -07:00
lispref Fix expand-file-name symlink-to-dir bug 2020-08-26 13:27:56 -07:00
man Fix syntax error in man page. 2020-04-05 10:19:31 +02:00
misc Add basic D-Bus integration to Gnus 2020-08-25 10:24:08 -07:00