Commit fec4347f authored by unknown's avatar unknown

Merge monster.:D:/Work/mysql-4.1 into monster.:D:/Work/mysql5.0


BitKeeper/etc/logging_ok:
  auto-union
parents 33b114aa dd3225b2
...@@ -237,6 +237,7 @@ rburnett@bk-internal.mysql.com ...@@ -237,6 +237,7 @@ rburnett@bk-internal.mysql.com
rburnett@build.mysql.com rburnett@build.mysql.com
reggie@bob.(none) reggie@bob.(none)
reggie@mdk10.(none) reggie@mdk10.(none)
reggie@monster.
root@home.(none) root@home.(none)
root@mc04.(none) root@mc04.(none)
root@x3.internalnet root@x3.internalnet
......
...@@ -44,7 +44,7 @@ int my_access(const char *path, int amode) ...@@ -44,7 +44,7 @@ int my_access(const char *path, int amode)
result= GetFileAttributesEx(path, GetFileExInfoStandard, &fileinfo); result= GetFileAttributesEx(path, GetFileExInfoStandard, &fileinfo);
if (! result || if (! result ||
(fileinfo.dwFileAttributes & FILE_ATTRIBUTE_READONLY) && (amode & W_OK)) (fileinfo.dwFileAttributes & FILE_ATTRIBUTE_READONLY) && (amode & F_OK))
{ {
my_errno= errno= EACCES; my_errno= errno= EACCES;
return -1; return -1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment