Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
e716fa75
Commit
e716fa75
authored
Sep 26, 2001
by
Francois Gouget
Committed by
Alexandre Julliard
Sep 26, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renamed W_OK to MSVCRT_W_OK.
parent
3b10efeb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
file.c
dlls/msvcrt/file.c
+3
-3
No files found.
dlls/msvcrt/file.c
View file @
e716fa75
...
...
@@ -33,7 +33,7 @@ DEFAULT_DEBUG_CHANNEL(msvcrt);
#define MSVCRT_S_IEXEC (_S_IEXEC | (_S_IEXEC >> 3) | (_S_IEXEC >> 6))
/* _access() bit flags FIXME: incomplete */
#define
W_OK
2
#define
MSVCRT_W_OK 0x0
2
/* FIXME: Make this dynamic */
...
...
@@ -202,7 +202,7 @@ int _access(const char *filename, int mode)
MSVCRT__set_errno
(
GetLastError
());
return
-
1
;
}
if
((
attr
&
FILE_ATTRIBUTE_READONLY
)
&&
(
mode
&
W_OK
))
if
((
attr
&
FILE_ATTRIBUTE_READONLY
)
&&
(
mode
&
MSVCRT_
W_OK
))
{
MSVCRT__set_errno
(
ERROR_ACCESS_DENIED
);
return
-
1
;
...
...
@@ -224,7 +224,7 @@ int _waccess(const WCHAR *filename, int mode)
MSVCRT__set_errno
(
GetLastError
());
return
-
1
;
}
if
((
attr
&
FILE_ATTRIBUTE_READONLY
)
&&
(
mode
&
W_OK
))
if
((
attr
&
FILE_ATTRIBUTE_READONLY
)
&&
(
mode
&
MSVCRT_
W_OK
))
{
MSVCRT__set_errno
(
ERROR_ACCESS_DENIED
);
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