]> git.eshelyaron.com Git - emacs.git/commit
Fix error messages when readdir cannot open a directory on MS-Windows
authorEli Zaretskii <eliz@gnu.org>
Fri, 30 Jan 2015 06:48:32 +0000 (08:48 +0200)
committerEli Zaretskii <eliz@gnu.org>
Fri, 30 Jan 2015 06:48:32 +0000 (08:48 +0200)
commit44ae1364908f91d877a6afa9bdd394e31fbd8311
tree4b255660f198612f7be14046492bb37ffedb4208
parentd7adc7d90fb93edb5d0a1674c013f8425677dff8
Fix error messages when readdir cannot open a directory on MS-Windows

 src/dired.c (read_dirent): Accept an additional argument
 FIRST_ENTRY.  If readdir fails with ENOENT or EACCES the first
 time it is called, report the error as if it happened in
 open_directory.
 (directory_files_internal, file_name_completion): Adjust callers
 or read_dirent.
src/ChangeLog
src/dired.c