Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
6d6d06a8
Commit
6d6d06a8
authored
Oct 24, 2003
by
Pavel Roskin
Committed by
Alexandre Julliard
Oct 24, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make MSVCRT__sopen() complain louder about unknown oflags, but not
about _O_WRONLY. MSVCRT_fopen() should pass third argument to _open() because it may set _O_CREAT.
parent
367cf414
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 @
6d6d06a8
...
...
@@ -1028,8 +1028,8 @@ int MSVCRT__sopen( const char *path, int oflags, int shflags, ... )
}
if
(
oflags
&
~
(
_O_BINARY
|
_O_TEXT
|
_O_APPEND
|
_O_TRUNC
|
_O_EXCL
|
_O_CREAT
|
_O_RDWR
|
_O_TEMPORARY
|
_O_NOINHERIT
))
TRACE
(
":unsupported oflags 0x%04x
\n
"
,
oflags
);
|
_O_CREAT
|
_O_RDWR
|
_O_
WRONLY
|
_O_
TEMPORARY
|
_O_NOINHERIT
))
ERR
(
":unsupported oflags 0x%04x
\n
"
,
oflags
);
sa
.
nLength
=
sizeof
(
SECURITY_ATTRIBUTES
);
sa
.
lpSecurityDescriptor
=
NULL
;
...
...
@@ -1908,7 +1908,7 @@ MSVCRT_FILE* MSVCRT_fopen(const char *path, const char *mode)
FIXME
(
":unknown flag %c not supported
\n
"
,
mode
[
-
1
]);
}
fd
=
_open
(
path
,
flags
);
fd
=
_open
(
path
,
flags
,
_S_IREAD
|
_S_IWRITE
);
if
(
fd
<
0
)
return
NULL
;
...
...
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