]> git.eshelyaron.com Git - emacs.git/commit
Do not treat ~nosuchuser as an absolute file name
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 24 Jul 2019 21:28:13 +0000 (14:28 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 24 Jul 2019 21:33:02 +0000 (14:33 -0700)
commita5063aa8b174db286a0e83b8ffdd4e65c521f733
treedc439d78ecef638817f98cb7e43868fa2ab7b856
parente089c3141a51bf70b91da21a01cdb4be0b63c08d
Do not treat ~nosuchuser as an absolute file name

Derived from Ken Brown’s patch (Bug#36502#97).
* doc/lispref/files.texi (Relative File Names):
* etc/NEWS: Document this.
* src/fileio.c (user_homedir): New function.
(Fexpand_file_name, file_name_absolute_p): Use it.
(search_embedded_absfilename): Simplify via file_name_absolute_p.
* test/src/fileio-tests.el (fileio-tests--no-such-user): New test.
doc/lispref/files.texi
etc/NEWS
src/fileio.c
test/src/fileio-tests.el