diff options
| author | Paul Eggert | 2017-09-07 17:46:12 -0700 |
|---|---|---|
| committer | Paul Eggert | 2017-09-07 17:47:24 -0700 |
| commit | aedc566a94116191d3a8b3f7f9955058316f9fdc (patch) | |
| tree | 02c7082bfcfa23ce2b89393a382ba7112e47ba52 /src/buffer.c | |
| parent | 53830c6336b52d58c315c7e11405181e01ee9a53 (diff) | |
| download | emacs-aedc566a94116191d3a8b3f7f9955058316f9fdc.tar.gz emacs-aedc566a94116191d3a8b3f7f9955058316f9fdc.zip | |
Fix bug: (directory-file-name "///") returned "//"
* src/fileio.c (directory_file_name): For "///" and longer,
return "/", not "//", as per POSIX.
* test/src/fileio-tests.el (fileio-tests--directory-file-name)
(fileio-tests--file-name-as-directory): New tests.
Diffstat (limited to 'src/buffer.c')
0 files changed, 0 insertions, 0 deletions