msvcrt: Add support for _fstat32i64.

Signed-off-by: Erich E. Hoover <erich.e.hoover@wine-staging.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Erich E. Hoover 2016-05-12 14:37:24 -06:00 committed by Alexandre Julliard
parent b70cda9a1e
commit 6afda19f48
9 changed files with 22 additions and 8 deletions

View File

@ -13,7 +13,7 @@
@ cdecl _findnext64(long ptr) ucrtbase._findnext64
@ cdecl _findnext64i32(long ptr) ucrtbase._findnext64i32
@ cdecl _fstat32(long ptr) ucrtbase._fstat32
@ stub _fstat32i64
@ cdecl _fstat32i64(long ptr) ucrtbase._fstat32i64
@ cdecl _fstat64(long ptr) ucrtbase._fstat64
@ cdecl _fstat64i32(long ptr) ucrtbase._fstat64i32
@ cdecl _fullpath(ptr str long) ucrtbase._fullpath

View File

@ -848,7 +848,7 @@
@ cdecl _fseeki64_nolock(ptr int64 long) MSVCRT__fseeki64_nolock
@ cdecl _fsopen(str str long) MSVCRT__fsopen
@ cdecl _fstat32(long ptr) MSVCRT__fstat32
@ stub _fstat32i64
@ cdecl _fstat32i64(long ptr) MSVCRT__fstat32i64
@ cdecl _fstat64(long ptr) MSVCRT__fstat64
@ cdecl _fstat64i32(long ptr) MSVCRT__fstat64i32
@ cdecl _ftell_nolock(ptr) MSVCRT__ftell_nolock

View File

@ -1195,7 +1195,7 @@
@ cdecl _fseeki64_nolock(ptr int64 long) MSVCRT__fseeki64_nolock
@ cdecl _fsopen(str str long) MSVCRT__fsopen
@ cdecl _fstat32(long ptr) MSVCRT__fstat32
@ stub _fstat32i64
@ cdecl _fstat32i64(long ptr) MSVCRT__fstat32i64
@ cdecl _fstat64(long ptr) MSVCRT__fstat64
@ cdecl _fstat64i32(long ptr) MSVCRT__fstat64i32
@ cdecl _ftell_nolock(ptr) MSVCRT__ftell_nolock

View File

@ -1195,7 +1195,7 @@
@ cdecl _fseeki64_nolock(ptr int64 long) MSVCRT__fseeki64_nolock
@ cdecl _fsopen(str str long) MSVCRT__fsopen
@ cdecl _fstat32(long ptr) MSVCRT__fstat32
@ stub _fstat32i64
@ cdecl _fstat32i64(long ptr) MSVCRT__fstat32i64
@ cdecl _fstat64(long ptr) MSVCRT__fstat64
@ cdecl _fstat64i32(long ptr) MSVCRT__fstat64i32
@ cdecl _ftell_nolock(ptr) MSVCRT__ftell_nolock

View File

@ -1123,7 +1123,7 @@
@ cdecl _fseeki64_nolock(ptr int64 long) msvcr120._fseeki64_nolock
@ cdecl _fsopen(str str long) msvcr120._fsopen
@ cdecl _fstat32(long ptr) msvcr120._fstat32
@ stub _fstat32i64
@ cdecl _fstat32i64(long ptr) msvcr120._fstat32i64
@ cdecl _fstat64(long ptr) msvcr120._fstat64
@ cdecl _fstat64i32(long ptr) msvcr120._fstat64i32
@ cdecl _ftell_nolock(ptr) msvcr120._ftell_nolock

View File

@ -514,7 +514,7 @@
@ cdecl _fseeki64_nolock(ptr int64 long) MSVCRT__fseeki64_nolock
@ cdecl _fsopen(str str long) MSVCRT__fsopen
@ cdecl _fstat32(long ptr) MSVCRT__fstat32
@ stub _fstat32i64
@ cdecl _fstat32i64(long ptr) MSVCRT__fstat32i64
@ cdecl _fstat64(long ptr) MSVCRT__fstat64
@ cdecl _fstat64i32(long ptr) MSVCRT__fstat64i32
@ cdecl _ftell_nolock(ptr) MSVCRT__ftell_nolock

View File

@ -497,7 +497,7 @@
@ cdecl _fseeki64_nolock(ptr int64 long) MSVCRT__fseeki64_nolock
@ cdecl _fsopen(str str long) MSVCRT__fsopen
@ cdecl _fstat32(long ptr) MSVCRT__fstat32
@ stub _fstat32i64
@ cdecl _fstat32i64(long ptr) MSVCRT__fstat32i64
@ cdecl _fstat64(long ptr) MSVCRT__fstat64
@ cdecl _fstat64i32(long ptr) MSVCRT__fstat64i32
@ cdecl _ftell_nolock(ptr) MSVCRT__ftell_nolock

View File

@ -1788,6 +1788,20 @@ int CDECL MSVCRT__fstat32(int fd, struct MSVCRT__stat32* buf)
return ret;
}
/*********************************************************************
* _fstat32i64 (MSVCR80.@)
*/
int CDECL MSVCRT__fstat32i64(int fd, struct MSVCRT__stat32i64* buf)
{
int ret;
struct MSVCRT__stat64 buf64;
ret = MSVCRT__fstat64(fd, &buf64);
if (!ret)
msvcrt_stat64_to_stat32i64(&buf64, buf);
return ret;
}
/*********************************************************************
* _fstat64i32 (MSVCR80.@)
*/

View File

@ -340,7 +340,7 @@
@ cdecl _fseeki64_nolock(ptr int64 long) MSVCRT__fseeki64_nolock
@ cdecl _fsopen(str str long) MSVCRT__fsopen
@ cdecl _fstat32(long ptr) MSVCRT__fstat32
@ stub _fstat32i64
@ cdecl _fstat32i64(long ptr) MSVCRT__fstat32i64
@ cdecl _fstat64(long ptr) MSVCRT__fstat64
@ cdecl _fstat64i32(long ptr) MSVCRT__fstat64i32
@ cdecl _ftell_nolock(ptr) MSVCRT__ftell_nolock