summaryrefslogtreecommitdiff
path: root/mysys/my_access.c
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2005-06-03 13:43:17 +0200
committerunknown <serg@serg.mylan>2005-06-03 13:43:17 +0200
commit2906e27a7c3a287be6af12fa2969c034f37f5b40 (patch)
tree1973863e5e62f07062c8ae0fb50602d88fc98335 /mysys/my_access.c
parentb3ca69b1144dd7c06d84ddefd9d52a0f3b404626 (diff)
downloadmariadb-git-2906e27a7c3a287be6af12fa2969c034f37f5b40.tar.gz
yassl template instantiation - don't do too much
mysys/my_access.c: remove incorrect fix comments extra/yassl/taocrypt/src/integer.cpp: yassl template instantiation - don't do too much extra/yassl/taocrypt/src/template_instnt.cpp: yassl template instantiation - don't do too much mysys/my_access.c: remove incorrect fix sql/item_func.cc: a couple of comment. assert added.
Diffstat (limited to 'mysys/my_access.c')
-rw-r--r--mysys/my_access.c2
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;