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
90771ab6
Commit
90771ab6
authored
Oct 11, 2010
by
Andrew Nguyen
Committed by
Alexandre Julliard
Oct 11, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Use the write_invalid_msvcrt_tm helper in _gmtime64_s.
parent
e245cb52
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
11 deletions
+3
-11
time.c
dlls/msvcrt/time.c
+3
-11
No files found.
dlls/msvcrt/time.c
View file @
90771ab6
...
...
@@ -284,17 +284,9 @@ int CDECL MSVCRT__gmtime64_s(struct MSVCRT_tm *res, const MSVCRT___time64_t *sec
SYSTEMTIME
st
;
ULONGLONG
time
;
if
(
!
res
||
!
secs
||
*
secs
<
0
)
{
if
(
res
)
{
res
->
tm_sec
=
-
1
;
res
->
tm_min
=
-
1
;
res
->
tm_hour
=
-
1
;
res
->
tm_mday
=
-
1
;
res
->
tm_year
=
-
1
;
res
->
tm_mon
=
-
1
;
res
->
tm_wday
=
-
1
;
res
->
tm_yday
=
-
1
;
res
->
tm_isdst
=
-
1
;
if
(
!
res
||
!
secs
||
*
secs
<
0
)
{
if
(
res
)
{
write_invalid_msvcrt_tm
(
res
);
}
*
MSVCRT__errno
()
=
MSVCRT_EINVAL
;
...
...
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