]> git.eshelyaron.com Git - emacs.git/commit
Signal a file-error from directory-files on MS-Windows (Bug#19701)
authorEli Zaretskii <eliz@gnu.org>
Tue, 27 Jan 2015 19:02:13 +0000 (21:02 +0200)
committerEli Zaretskii <eliz@gnu.org>
Tue, 27 Jan 2015 19:02:13 +0000 (21:02 +0200)
commit9664defd262252faf037c5fe1ea095f1cc4b308b
tree141dc6740e1de7e715ae5037fe4297a55c921dac
parentfd4e65e4ae76eb59a990fc72bce791a50e494338
Signal a file-error from directory-files on MS-Windows  (Bug#19701)

 src/dired.c (directory_files_internal) [WINDOWSNT]: If readdir
 returns NULL and errno is ENOTDIR, behave as if opendir failed to
 open the directory.
 src/w32.c (sys_readdir): If FindFirstFile fails because the
 directory doesn't exist, set errno to ENOTDIR.
src/ChangeLog
src/dired.c
src/w32.c