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
b6acca66
Commit
b6acca66
authored
Dec 28, 2010
by
Eryk Wieliczko
Committed by
Alexandre Julliard
Dec 29, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Implement _ftime64_s and _ftime32_s.
parent
f6990085
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
36 additions
and
8 deletions
+36
-8
msvcr100.spec
dlls/msvcr100/msvcr100.spec
+2
-2
msvcr80.spec
dlls/msvcr80/msvcr80.spec
+2
-2
msvcr90.spec
dlls/msvcr90/msvcr90.spec
+2
-2
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+2
-2
time.c
dlls/msvcrt/time.c
+28
-0
No files found.
dlls/msvcr100/msvcr100.spec
View file @
b6acca66
...
...
@@ -659,9 +659,9 @@
@ cdecl -ret64 _ftelli64(ptr) msvcrt._ftelli64
@ stub _ftelli64_nolock
@ cdecl _ftime32(ptr) msvcrt._ftime32
@
stub
_ftime32_s
@
cdecl _ftime32_s(ptr) msvcrt.
_ftime32_s
@ cdecl _ftime64(ptr) msvcrt._ftime64
@
stub
_ftime64_s
@
cdecl _ftime64_s(ptr) msvcrt.
_ftime64_s
@ cdecl -ret64 _ftol() msvcrt._ftol
@ cdecl _fullpath(ptr str long) msvcrt._fullpath
@ cdecl _futime32(long ptr) msvcrt._futime32
...
...
dlls/msvcr80/msvcr80.spec
View file @
b6acca66
...
...
@@ -500,9 +500,9 @@
@ cdecl -ret64 _ftelli64(ptr) msvcrt._ftelli64
@ stub _ftelli64_nolock
@ cdecl _ftime32(ptr) msvcrt._ftime32
@
stub
_ftime32_s
@
cdecl _ftime32_s(ptr) msvcrt.
_ftime32_s
@ cdecl _ftime64(ptr) msvcrt._ftime64
@
stub
_ftime64_s
@
cdecl _ftime64_s(ptr) msvcrt.
_ftime64_s
@ cdecl -ret64 _ftol() msvcrt._ftol
@ cdecl _fullpath(ptr str long) msvcrt._fullpath
@ cdecl _futime32(long ptr) msvcrt._futime32
...
...
dlls/msvcr90/msvcr90.spec
View file @
b6acca66
...
...
@@ -492,9 +492,9 @@
@ cdecl -ret64 _ftelli64(ptr) msvcrt._ftelli64
@ stub _ftelli64_nolock
@ cdecl _ftime32(ptr) msvcrt._ftime32
@
stub
_ftime32_s
@
cdecl _ftime32_s(ptr) msvcrt.
_ftime32_s
@ cdecl _ftime64(ptr) msvcrt._ftime64
@
stub
_ftime64_s
@
cdecl _ftime64_s(ptr) msvcrt.
_ftime64_s
@ cdecl -ret64 _ftol() msvcrt._ftol
@ cdecl _fullpath(ptr str long) msvcrt._fullpath
@ cdecl _futime32(long ptr) msvcrt._futime32
...
...
dlls/msvcrt/msvcrt.spec
View file @
b6acca66
...
...
@@ -444,9 +444,9 @@
@ cdecl -ret64 _ftelli64(ptr) MSVCRT__ftelli64
@ cdecl _ftime(ptr) MSVCRT__ftime
@ cdecl _ftime32(ptr) MSVCRT__ftime32
# stub
_ftime32_s
@ cdecl _ftime32_s(ptr) MSVCRT_
_ftime32_s
@ cdecl _ftime64(ptr) MSVCRT__ftime64
# stub
_ftime64_s
@ cdecl _ftime64_s(ptr) MSVCRT_
_ftime64_s
@ cdecl -ret64 _ftol() ntdll._ftol
@ cdecl -ret64 _ftol2() ntdll._ftol
@ cdecl -ret64 _ftol2_sse() ntdll._ftol #FIXME: SSE variant should be implemented
...
...
dlls/msvcrt/time.c
View file @
b6acca66
...
...
@@ -602,6 +602,20 @@ void CDECL MSVCRT__ftime64(struct MSVCRT___timeb64 *buf)
}
/*********************************************************************
* _ftime64_s (MSVCRT.@)
*/
int
CDECL
MSVCRT__ftime64_s
(
struct
MSVCRT___timeb64
*
buf
)
{
if
(
!
MSVCRT_CHECK_PMT
(
buf
!=
NULL
)
)
{
*
MSVCRT__errno
()
=
MSVCRT_EINVAL
;
return
MSVCRT_EINVAL
;
}
MSVCRT__ftime64
(
buf
);
return
0
;
}
/*********************************************************************
* _ftime32 (MSVCRT.@)
*/
void
CDECL
MSVCRT__ftime32
(
struct
MSVCRT___timeb32
*
buf
)
...
...
@@ -616,6 +630,20 @@ void CDECL MSVCRT__ftime32(struct MSVCRT___timeb32 *buf)
}
/*********************************************************************
* _ftime32_s (MSVCRT.@)
*/
int
CDECL
MSVCRT__ftime32_s
(
struct
MSVCRT___timeb32
*
buf
)
{
if
(
!
MSVCRT_CHECK_PMT
(
buf
!=
NULL
)
)
{
*
MSVCRT__errno
()
=
MSVCRT_EINVAL
;
return
MSVCRT_EINVAL
;
}
MSVCRT__ftime32
(
buf
);
return
0
;
}
/*********************************************************************
* _ftime (MSVCRT.@)
*/
#ifdef _WIN64
...
...
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