diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/fileio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c index b8706e1e893..81eaa771189 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -2823,7 +2823,8 @@ really is a readable and searchable directory. */) | |||
| 2823 | avoids reporting "Success" for a failed operation. Perhaps | 2823 | avoids reporting "Success" for a failed operation. Perhaps |
| 2824 | someday we can fix this in a better way, by improving | 2824 | someday we can fix this in a better way, by improving |
| 2825 | file-accessible-directory-p's API; see Bug#25419. */ | 2825 | file-accessible-directory-p's API; see Bug#25419. */ |
| 2826 | errno = EACCES; | 2826 | if (!EQ (r, Qt)) |
| 2827 | errno = EACCES; | ||
| 2827 | 2828 | ||
| 2828 | return r; | 2829 | return r; |
| 2829 | } | 2830 | } |