msvcrt: Don't forward _atoi64 to ntdll.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45922
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Piotr Caban 2018-10-17 15:22:51 +02:00 committed by Alexandre Julliard
parent dea016dbe8
commit 4d0a008e5d
11 changed files with 25 additions and 17 deletions

View File

@ -5,7 +5,7 @@
@ cdecl _atoflt(ptr str) ucrtbase._atoflt @ cdecl _atoflt(ptr str) ucrtbase._atoflt
@ cdecl _atoflt_l(ptr str ptr) ucrtbase._atoflt_l @ cdecl _atoflt_l(ptr str ptr) ucrtbase._atoflt_l
@ cdecl -ret64 _atoi64(str) ucrtbase._atoi64 @ cdecl -ret64 _atoi64(str) ucrtbase._atoi64
@ cdecl _atoi64_l(str ptr) ucrtbase._atoi64_l @ cdecl -ret64 _atoi64_l(str ptr) ucrtbase._atoi64_l
@ cdecl _atoi_l(str ptr) ucrtbase._atoi_l @ cdecl _atoi_l(str ptr) ucrtbase._atoi_l
@ cdecl _atol_l(str ptr) ucrtbase._atol_l @ cdecl _atol_l(str ptr) ucrtbase._atol_l
@ cdecl _atoldbl(ptr str) ucrtbase._atoldbl @ cdecl _atoldbl(ptr str) ucrtbase._atoldbl

View File

@ -696,8 +696,8 @@
@ cdecl _atof_l(str ptr) MSVCRT__atof_l @ cdecl _atof_l(str ptr) MSVCRT__atof_l
@ cdecl _atoflt(ptr str) MSVCRT__atoflt @ cdecl _atoflt(ptr str) MSVCRT__atoflt
@ cdecl _atoflt_l(ptr str ptr) MSVCRT__atoflt_l @ cdecl _atoflt_l(ptr str ptr) MSVCRT__atoflt_l
@ cdecl -ret64 _atoi64(str) ntdll._atoi64 @ cdecl -ret64 _atoi64(str) MSVCRT__atoi64
@ cdecl _atoi64_l(str ptr) MSVCRT__atoi64_l @ cdecl -ret64 _atoi64_l(str ptr) MSVCRT__atoi64_l
@ cdecl _atoi_l(str ptr) MSVCRT__atoi_l @ cdecl _atoi_l(str ptr) MSVCRT__atoi_l
@ cdecl _atol_l(str ptr) MSVCRT__atol_l @ cdecl _atol_l(str ptr) MSVCRT__atol_l
@ cdecl _atoldbl(ptr str) MSVCRT__atoldbl @ cdecl _atoldbl(ptr str) MSVCRT__atoldbl

View File

@ -1044,8 +1044,8 @@
@ cdecl _atof_l(str ptr) MSVCRT__atof_l @ cdecl _atof_l(str ptr) MSVCRT__atof_l
@ cdecl _atoflt(ptr str) MSVCRT__atoflt @ cdecl _atoflt(ptr str) MSVCRT__atoflt
@ cdecl _atoflt_l(ptr str ptr) MSVCRT__atoflt_l @ cdecl _atoflt_l(ptr str ptr) MSVCRT__atoflt_l
@ cdecl -ret64 _atoi64(str) ntdll._atoi64 @ cdecl -ret64 _atoi64(str) MSVCRT__atoi64
@ cdecl _atoi64_l(str ptr) MSVCRT__atoi64_l @ cdecl -ret64 _atoi64_l(str ptr) MSVCRT__atoi64_l
@ cdecl _atoi_l(str ptr) MSVCRT__atoi_l @ cdecl _atoi_l(str ptr) MSVCRT__atoi_l
@ cdecl _atol_l(str ptr) MSVCRT__atol_l @ cdecl _atol_l(str ptr) MSVCRT__atol_l
@ cdecl _atoldbl(ptr str) MSVCRT__atoldbl @ cdecl _atoldbl(ptr str) MSVCRT__atoldbl

View File

@ -1034,8 +1034,8 @@
@ cdecl _atof_l(str ptr) MSVCRT__atof_l @ cdecl _atof_l(str ptr) MSVCRT__atof_l
@ cdecl _atoflt(ptr str) MSVCRT__atoflt @ cdecl _atoflt(ptr str) MSVCRT__atoflt
@ cdecl _atoflt_l(ptr str ptr) MSVCRT__atoflt_l @ cdecl _atoflt_l(ptr str ptr) MSVCRT__atoflt_l
@ cdecl -ret64 _atoi64(str) ntdll._atoi64 @ cdecl -ret64 _atoi64(str) MSVCRT__atoi64
@ cdecl _atoi64_l(str ptr) MSVCRT__atoi64_l @ cdecl -ret64 _atoi64_l(str ptr) MSVCRT__atoi64_l
@ cdecl _atoi_l(str ptr) MSVCRT__atoi_l @ cdecl _atoi_l(str ptr) MSVCRT__atoi_l
@ cdecl _atol_l(str ptr) MSVCRT__atol_l @ cdecl _atol_l(str ptr) MSVCRT__atol_l
@ cdecl _atoldbl(ptr str) MSVCRT__atoldbl @ cdecl _atoldbl(ptr str) MSVCRT__atoldbl

View File

@ -1006,7 +1006,7 @@
@ cdecl _atoflt(ptr str) msvcr120._atoflt @ cdecl _atoflt(ptr str) msvcr120._atoflt
@ cdecl _atoflt_l(ptr str ptr) msvcr120._atoflt_l @ cdecl _atoflt_l(ptr str ptr) msvcr120._atoflt_l
@ cdecl -ret64 _atoi64(str) msvcr120._atoi64 @ cdecl -ret64 _atoi64(str) msvcr120._atoi64
@ cdecl _atoi64_l(str ptr) msvcr120._atoi64_l @ cdecl -ret64 _atoi64_l(str ptr) msvcr120._atoi64_l
@ cdecl _atoi_l(str ptr) msvcr120._atoi_l @ cdecl _atoi_l(str ptr) msvcr120._atoi_l
@ cdecl _atol_l(str ptr) msvcr120._atol_l @ cdecl _atol_l(str ptr) msvcr120._atol_l
@ cdecl _atoldbl(ptr str) msvcr120._atoldbl @ cdecl _atoldbl(ptr str) msvcr120._atoldbl

View File

@ -235,7 +235,7 @@
@ cdecl _amsg_exit(long) @ cdecl _amsg_exit(long)
@ cdecl _assert(str str long) MSVCRT__assert @ cdecl _assert(str str long) MSVCRT__assert
@ cdecl _atodbl(ptr str) MSVCRT__atodbl @ cdecl _atodbl(ptr str) MSVCRT__atodbl
@ cdecl -ret64 _atoi64(str) ntdll._atoi64 @ cdecl -ret64 _atoi64(str) MSVCRT__atoi64
@ cdecl _atoldbl(ptr str) MSVCRT__atoldbl @ cdecl _atoldbl(ptr str) MSVCRT__atoldbl
@ cdecl _beep(long long) MSVCRT__beep @ cdecl _beep(long long) MSVCRT__beep
@ cdecl _beginthread(ptr long ptr) @ cdecl _beginthread(ptr long ptr)

View File

@ -360,8 +360,8 @@
@ cdecl _atof_l(str ptr) MSVCRT__atof_l @ cdecl _atof_l(str ptr) MSVCRT__atof_l
@ cdecl _atoflt(ptr str) MSVCRT__atoflt @ cdecl _atoflt(ptr str) MSVCRT__atoflt
@ cdecl _atoflt_l(ptr str ptr) MSVCRT__atoflt_l @ cdecl _atoflt_l(ptr str ptr) MSVCRT__atoflt_l
@ cdecl -ret64 _atoi64(str) ntdll._atoi64 @ cdecl -ret64 _atoi64(str) MSVCRT__atoi64
@ cdecl _atoi64_l(str ptr) MSVCRT__atoi64_l @ cdecl -ret64 _atoi64_l(str ptr) MSVCRT__atoi64_l
@ cdecl _atoi_l(str ptr) MSVCRT__atoi_l @ cdecl _atoi_l(str ptr) MSVCRT__atoi_l
@ cdecl _atol_l(str ptr) MSVCRT__atol_l @ cdecl _atol_l(str ptr) MSVCRT__atol_l
@ cdecl _atoldbl(ptr str) MSVCRT__atoldbl @ cdecl _atoldbl(ptr str) MSVCRT__atoldbl

View File

@ -344,8 +344,8 @@
@ cdecl _atof_l(str ptr) MSVCRT__atof_l @ cdecl _atof_l(str ptr) MSVCRT__atof_l
@ cdecl _atoflt(ptr str) MSVCRT__atoflt @ cdecl _atoflt(ptr str) MSVCRT__atoflt
@ cdecl _atoflt_l(ptr str ptr) MSVCRT__atoflt_l @ cdecl _atoflt_l(ptr str ptr) MSVCRT__atoflt_l
@ cdecl -ret64 _atoi64(str) ntdll._atoi64 @ cdecl -ret64 _atoi64(str) MSVCRT__atoi64
@ cdecl _atoi64_l(str ptr) MSVCRT__atoi64_l @ cdecl -ret64 _atoi64_l(str ptr) MSVCRT__atoi64_l
@ cdecl _atoi_l(str ptr) MSVCRT__atoi_l @ cdecl _atoi_l(str ptr) MSVCRT__atoi_l
@ cdecl _atol_l(str ptr) MSVCRT__atol_l @ cdecl _atol_l(str ptr) MSVCRT__atol_l
@ cdecl _atoldbl(ptr str) MSVCRT__atoldbl @ cdecl _atoldbl(ptr str) MSVCRT__atoldbl

View File

@ -331,8 +331,8 @@
@ cdecl _atodbl_l(ptr str ptr) MSVCRT__atodbl_l @ cdecl _atodbl_l(ptr str ptr) MSVCRT__atodbl_l
@ cdecl _atof_l(str ptr) MSVCRT__atof_l @ cdecl _atof_l(str ptr) MSVCRT__atof_l
@ cdecl _atoflt_l(ptr str ptr) MSVCRT__atoflt_l @ cdecl _atoflt_l(ptr str ptr) MSVCRT__atoflt_l
@ cdecl -ret64 _atoi64(str) ntdll._atoi64 @ cdecl -ret64 _atoi64(str) MSVCRT__atoi64
@ cdecl _atoi64_l(str ptr) MSVCRT__atoi64_l @ cdecl -ret64 _atoi64_l(str ptr) MSVCRT__atoi64_l
@ cdecl _atoi_l(str ptr) MSVCRT__atoi_l @ cdecl _atoi_l(str ptr) MSVCRT__atoi_l
@ cdecl _atol_l(str ptr) MSVCRT__atol_l @ cdecl _atol_l(str ptr) MSVCRT__atol_l
@ cdecl _atoldbl(ptr str) MSVCRT__atoldbl @ cdecl _atoldbl(ptr str) MSVCRT__atoldbl

View File

@ -1079,6 +1079,14 @@ __int64 CDECL MSVCRT__atoi64_l(const char *str, MSVCRT__locale_t locale)
return MSVCRT_strtoi64_l(str, NULL, 10, locale); return MSVCRT_strtoi64_l(str, NULL, 10, locale);
} }
/******************************************************************
* _atoi64 (MSVCRT.@)
*/
__int64 CDECL MSVCRT__atoi64(const char *str)
{
return MSVCRT_strtoi64_l(str, NULL, 10, NULL);
}
/****************************************************************** /******************************************************************
* _atol_l (MSVCRT.@) * _atol_l (MSVCRT.@)
*/ */

View File

@ -195,8 +195,8 @@
@ cdecl _atof_l(str ptr) MSVCRT__atof_l @ cdecl _atof_l(str ptr) MSVCRT__atof_l
@ cdecl _atoflt(ptr str) MSVCRT__atoflt @ cdecl _atoflt(ptr str) MSVCRT__atoflt
@ cdecl _atoflt_l(ptr str ptr) MSVCRT__atoflt_l @ cdecl _atoflt_l(ptr str ptr) MSVCRT__atoflt_l
@ cdecl -ret64 _atoi64(str) ntdll._atoi64 @ cdecl -ret64 _atoi64(str) MSVCRT__atoi64
@ cdecl _atoi64_l(str ptr) MSVCRT__atoi64_l @ cdecl -ret64 _atoi64_l(str ptr) MSVCRT__atoi64_l
@ cdecl _atoi_l(str ptr) MSVCRT__atoi_l @ cdecl _atoi_l(str ptr) MSVCRT__atoi_l
@ cdecl _atol_l(str ptr) MSVCRT__atol_l @ cdecl _atol_l(str ptr) MSVCRT__atol_l
@ cdecl _atoldbl(ptr str) MSVCRT__atoldbl @ cdecl _atoldbl(ptr str) MSVCRT__atoldbl