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
4ec51d09
Commit
4ec51d09
authored
Jul 09, 2002
by
Uwe Bonnes
Committed by
Alexandre Julliard
Jul 09, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
_open_osfhandle: set at least the _IOREAD flag.
parent
21a2b606
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
file.c
dlls/msvcrt/file.c
+4
-2
No files found.
dlls/msvcrt/file.c
View file @
4ec51d09
...
...
@@ -1053,8 +1053,10 @@ int _wcreat(const WCHAR *path, int flags)
*/
int
_open_osfhandle
(
long
hand
,
int
flags
)
{
int
fd
=
msvcrt_alloc_fd
(
hand
,
flags
);
TRACE
(
":handle (%ld) fd (%d)
\n
"
,
hand
,
fd
);
/* _O_RDONLY (0) always matches, so set the read flag*/
/* FIXME: handle more flags */
int
fd
=
msvcrt_alloc_fd
(
hand
,
flags
|
MSVCRT__IOREAD
);
TRACE
(
":handle (%ld) fd (%d) flags 0x%08x
\n
"
,
hand
,
fd
,
flags
|
MSVCRT__IOREAD
);
return
fd
;
}
...
...
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