Make file-accessible-directory-p reliable on MS-Windows
commit697be62c5f2b86e8ad93dfcaa0df07890c24d989
authorEli Zaretskii <eliz@gnu.org>
Mon, 31 Aug 2015 14:48:26 +0000 (31 17:48 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 31 Aug 2015 14:48:26 +0000 (31 17:48 +0300)
tree5e6b5d4ea9cd75bbc2eca0d7831b1364b6bc333a
parent8af8355c3f72500986f6f10b62714b228d6f35ee
Make file-accessible-directory-p reliable on MS-Windows

* src/w32.c (w32_accessible_directory_p): New function.
* src/w32.h (w32_accessible_directory_p): Add prototype.
* src/fileio.c (file_accessible_directory_p) [WINDOWSNT]: Call
w32_accessible_directory_p to test a directory for accessibility
by the current user.  (Bug#21346)
(Ffile_accessible_directory_p): Remove the w32 specific caveat
from the doc string.
src/fileio.c
src/w32.c
src/w32.h