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
c28baa7b
Commit
c28baa7b
authored
Jun 20, 2011
by
Damjan Jovanovic
Committed by
Alexandre Julliard
Jun 20, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: The time passed to utime functions can be NULL.
parent
e5f68408
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
12 deletions
+27
-12
file.c
dlls/msvcrt/file.c
+27
-12
No files found.
dlls/msvcrt/file.c
View file @
c28baa7b
...
...
@@ -1477,10 +1477,15 @@ int CDECL _futime64(int fd, struct MSVCRT___utimbuf64 *t)
*/
int
CDECL
_futime32
(
int
fd
,
struct
MSVCRT___utimbuf32
*
t
)
{
struct
MSVCRT___utimbuf64
t64
;
t64
.
actime
=
t
->
actime
;
t64
.
modtime
=
t
->
modtime
;
return
_futime64
(
fd
,
&
t64
);
if
(
t
)
{
struct
MSVCRT___utimbuf64
t64
;
t64
.
actime
=
t
->
actime
;
t64
.
modtime
=
t
->
modtime
;
return
_futime64
(
fd
,
&
t64
);
}
else
return
_futime64
(
fd
,
NULL
);
}
/*********************************************************************
...
...
@@ -2402,10 +2407,15 @@ int CDECL _utime64(const char* path, struct MSVCRT___utimbuf64 *t)
*/
int
CDECL
_utime32
(
const
char
*
path
,
struct
MSVCRT___utimbuf32
*
t
)
{
struct
MSVCRT___utimbuf64
t64
;
t64
.
actime
=
t
->
actime
;
t64
.
modtime
=
t
->
modtime
;
return
_utime64
(
path
,
&
t64
);
if
(
t
)
{
struct
MSVCRT___utimbuf64
t64
;
t64
.
actime
=
t
->
actime
;
t64
.
modtime
=
t
->
modtime
;
return
_utime64
(
path
,
&
t64
);
}
else
return
_utime64
(
path
,
NULL
);
}
/*********************************************************************
...
...
@@ -2444,10 +2454,15 @@ int CDECL _wutime64(const MSVCRT_wchar_t* path, struct MSVCRT___utimbuf64 *t)
*/
int
CDECL
_wutime32
(
const
MSVCRT_wchar_t
*
path
,
struct
MSVCRT___utimbuf32
*
t
)
{
struct
MSVCRT___utimbuf64
t64
;
t64
.
actime
=
t
->
actime
;
t64
.
modtime
=
t
->
modtime
;
return
_wutime64
(
path
,
&
t64
);
if
(
t
)
{
struct
MSVCRT___utimbuf64
t64
;
t64
.
actime
=
t
->
actime
;
t64
.
modtime
=
t
->
modtime
;
return
_wutime64
(
path
,
&
t64
);
}
else
return
_wutime64
(
path
,
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