]> git.eshelyaron.com Git - emacs.git/commit
Fix the MS-Windows build broken by recent errno changes
authorEli Zaretskii <eliz@gnu.org>
Wed, 18 Sep 2019 12:14:15 +0000 (15:14 +0300)
committerEli Zaretskii <eliz@gnu.org>
Wed, 18 Sep 2019 12:14:15 +0000 (15:14 +0300)
commit7ff2eef926f933c79c3913c18f9403a4a987756b
tree35dd24590511a1e0efc5b54af21a0d9187be0058
parent735940f4551a43f3b4381105dc074cd7d494f2f3
Fix the MS-Windows build broken by recent errno changes

* src/fileio.c (file_directory_p): If the file exists, but is
not a directory, set errno to ENOTDIR, like the Posix branch
does; openp expects that.
src/fileio.c