Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
7b9d4eaa
Commit
7b9d4eaa
authored
Jun 02, 2005
by
reggie@monster
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed compile problem by replacing W_OK with F_OK
parent
e6860572
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
BitKeeper/etc/logging_ok
BitKeeper/etc/logging_ok
+1
-0
mysys/my_access.c
mysys/my_access.c
+1
-1
No files found.
BitKeeper/etc/logging_ok
View file @
7b9d4eaa
...
...
@@ -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
...
...
mysys/my_access.c
View file @
7b9d4eaa
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment