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
eec7a565
Commit
eec7a565
authored
Jun 04, 2015
by
Piotr Caban
Committed by
Alexandre Julliard
Jun 04, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Don't lock __badioinfo.
parent
f00b7f40
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
file.c
dlls/msvcrt/file.c
+3
-1
No files found.
dlls/msvcrt/file.c
View file @
eec7a565
...
...
@@ -260,6 +260,8 @@ static inline ioinfo* get_ioinfo_nolock(int fd)
static
inline
ioinfo
*
get_ioinfo
(
int
fd
)
{
ioinfo
*
ret
=
get_ioinfo_nolock
(
fd
);
if
(
ret
==
&
MSVCRT___badioinfo
)
return
ret
;
if
(
!
(
ret
->
exflag
&
EF_CRIT_INIT
))
{
LOCK_FILES
();
if
(
!
(
ret
->
exflag
&
EF_CRIT_INIT
))
{
...
...
@@ -274,7 +276,7 @@ static inline ioinfo* get_ioinfo(int fd)
static
inline
void
release_ioinfo
(
ioinfo
*
info
)
{
if
(
info
->
exflag
&
EF_CRIT_INIT
)
if
(
info
!=&
MSVCRT___badioinfo
&&
info
->
exflag
&
EF_CRIT_INIT
)
LeaveCriticalSection
(
&
info
->
crit
);
}
...
...
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