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
66520ea0
Commit
66520ea0
authored
Nov 24, 2011
by
Piotr Caban
Committed by
Alexandre Julliard
Nov 24, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Fix FILE critical section initialization.
parent
3d028ab6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
file.c
dlls/msvcrt/file.c
+5
-2
No files found.
dlls/msvcrt/file.c
View file @
66520ea0
...
...
@@ -364,8 +364,11 @@ static MSVCRT_FILE* msvcrt_alloc_fp(void)
{
if
(
i
==
MSVCRT_stream_idx
)
{
InitializeCriticalSection
(
&
((
file_crit
*
)
file
)
->
crit
);
((
file_crit
*
)
file
)
->
crit
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": file_crit.crit"
);
if
(
file
<
MSVCRT__iob
||
file
>=
MSVCRT__iob
+
_IOB_ENTRIES
)
{
InitializeCriticalSection
(
&
((
file_crit
*
)
file
)
->
crit
);
((
file_crit
*
)
file
)
->
crit
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": file_crit.crit"
);
}
MSVCRT_stream_idx
++
;
}
return
file
;
...
...
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