Commit dd3225b2 authored by unknown's avatar unknown
Browse files

fixed compile problem by replacing W_OK with F_OK


BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
parent 17678a7b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -206,6 +206,7 @@ rburnett@bk-internal.mysql.com
rburnett@build.mysql.com
reggie@bob.(none)
reggie@mdk10.(none)
reggie@monster.
root@home.(none)
root@mc04.(none)
root@x3.internalnet
+1 −1
Original line number Diff line number Diff line
@@ -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 & W_OK))
      (fileinfo.dwFileAttributes & FILE_ATTRIBUTE_READONLY) && (amode & F_OK))
  {
    my_errno= errno= EACCES;
    return -1;