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
9278190d
Commit
9278190d
authored
Jun 03, 2015
by
Piotr Caban
Committed by
Alexandre Julliard
Jun 03, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Use fd critical section in _futime64.
parent
16285f57
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 @
9278190d
...
...
@@ -1788,7 +1788,7 @@ int CDECL MSVCRT__fstat64i32(int fd, struct MSVCRT__stat64i32* buf)
*/
int
CDECL
_futime64
(
int
fd
,
struct
MSVCRT___utimbuf64
*
t
)
{
HANDLE
hand
=
msvcrt_fdtoh
(
fd
);
ioinfo
*
info
=
get_ioinfo
(
fd
);
FILETIME
at
,
wt
;
if
(
!
t
)
...
...
@@ -1802,11 +1802,13 @@ int CDECL _futime64(int fd, struct MSVCRT___utimbuf64 *t)
time_to_filetime
(
t
->
modtime
,
&
wt
);
}
if
(
!
SetFileTime
(
hand
,
NULL
,
&
at
,
&
wt
))
if
(
!
SetFileTime
(
info
->
handle
,
NULL
,
&
at
,
&
wt
))
{
release_ioinfo
(
info
);
msvcrt_set_errno
(
GetLastError
());
return
-
1
;
}
release_ioinfo
(
info
);
return
0
;
}
...
...
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