diff options
| author | Eli Zaretskii | 2017-08-25 18:01:19 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2017-08-25 18:01:19 +0300 |
| commit | 579890f1c7703cd8ecfe2e56f52cc06fcd1b2442 (patch) | |
| tree | bf87767339608018f402200d8ae0b9e3f8328616 | |
| parent | 0d2b4093984f0927b4fb07de971bd7e077fee93c (diff) | |
| download | emacs-579890f1c7703cd8ecfe2e56f52cc06fcd1b2442.tar.gz emacs-579890f1c7703cd8ecfe2e56f52cc06fcd1b2442.zip | |
; * src/w32.c (faccessat): Fix last change. (Bug#28207)
| -rw-r--r-- | src/w32.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -3910,7 +3910,7 @@ faccessat (int dirfd, const char * path, int mode, int flags) | |||
| 3910 | 3910 | ||
| 3911 | /* When dired.c calls us with F_OK and a trailing slash, it actually | 3911 | /* When dired.c calls us with F_OK and a trailing slash, it actually |
| 3912 | wants to know whether PATH is a directory. */ | 3912 | wants to know whether PATH is a directory. */ |
| 3913 | if (IS_DIRECTORY_SEP (path[strlen (path) - 1]) && ((mode & F_OK) == F_OK)) | 3913 | if (IS_DIRECTORY_SEP (path[strlen (path) - 1]) && mode == F_OK) |
| 3914 | mode |= D_OK; | 3914 | mode |= D_OK; |
| 3915 | 3915 | ||
| 3916 | /* MSVCRT implementation of 'access' doesn't recognize D_OK, and its | 3916 | /* MSVCRT implementation of 'access' doesn't recognize D_OK, and its |