diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-08-07 19:24:50 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-08-07 20:39:37 -0400 |
commit | 8625c1d1040037167d47da9dc6a8e79b348df681 (patch) | |
tree | c6ca95459be0c00def712344fd824662d23e104d /src/clint.py | |
parent | 8d09301090156712ae1a99888866831cf1dc3bcf (diff) | |
download | rneovim-8625c1d1040037167d47da9dc6a8e79b348df681.tar.gz rneovim-8625c1d1040037167d47da9dc6a8e79b348df681.tar.bz2 rneovim-8625c1d1040037167d47da9dc6a8e79b348df681.zip |
win32: readfile(): Directories should not show "[Permission Denied]".
77135447e09903b45d1482da45869946212f7904 introduced:
if (!newfile) {
return FAIL;
}
which changed the semantics of the un-braced `else` in the
`#ifndef UNIX` block immediately above it.
This commit restores the semantics of Vim. Until now it mostly worked by
accident, but on Windows it would mean that opening a directory would
show "[Permission Denied]".
Diffstat (limited to 'src/clint.py')
0 files changed, 0 insertions, 0 deletions