diff options
author | serg@serg.mylan <> | 2005-06-03 13:43:17 +0200 |
---|---|---|
committer | serg@serg.mylan <> | 2005-06-03 13:43:17 +0200 |
commit | 91f6308d0009d8bcfaedcbd5659484fc06a4d876 (patch) | |
tree | 1973863e5e62f07062c8ae0fb50602d88fc98335 /mysys/my_access.c | |
parent | 639f8ceb2502fa657146b189f5c01a9c6bc2eed8 (diff) | |
download | mariadb-git-91f6308d0009d8bcfaedcbd5659484fc06a4d876.tar.gz |
yassl template instantiation - don't do too much
mysys/my_access.c: remove incorrect fix
comments
Diffstat (limited to 'mysys/my_access.c')
-rw-r--r-- | mysys/my_access.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_access.c b/mysys/my_access.c index 89e90e16f18..28210bdfc7d 100644 --- a/mysys/my_access.c +++ b/mysys/my_access.c @@ -44,7 +44,7 @@ int my_access(const char *path, int amode) result= GetFileAttributesEx(path, GetFileExInfoStandard, &fileinfo); if (! result || - (fileinfo.dwFileAttributes & FILE_ATTRIBUTE_READONLY) && (amode & F_OK)) + (fileinfo.dwFileAttributes & FILE_ATTRIBUTE_READONLY) && (amode & W_OK)) { my_errno= errno= EACCES; return -1; |