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
3acb238f
Commit
3acb238f
authored
Dec 12, 2012
by
Piotr Caban
Committed by
Alexandre Julliard
Dec 12, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Added _wtoi_l implementation.
parent
c4d085bc
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
4 deletions
+21
-4
msvcr100.spec
dlls/msvcr100/msvcr100.spec
+1
-1
msvcr80.spec
dlls/msvcr80/msvcr80.spec
+1
-1
msvcr90.spec
dlls/msvcr90/msvcr90.spec
+1
-1
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+1
-1
wcs.c
dlls/msvcrt/wcs.c
+17
-0
No files found.
dlls/msvcr100/msvcr100.spec
View file @
3acb238f
...
...
@@ -1604,7 +1604,7 @@
@ cdecl _wtoi(wstr) msvcrt._wtoi
@ cdecl -ret64 _wtoi64(wstr) msvcrt._wtoi64
@ stub _wtoi64_l
@
stub
_wtoi_l
@
cdecl _wtoi_l(wstr ptr) msvcrt.
_wtoi_l
@ cdecl _wtol(wstr) msvcrt._wtol
@ stub _wtol_l
@ cdecl _wunlink(wstr) msvcrt._wunlink
...
...
dlls/msvcr80/msvcr80.spec
View file @
3acb238f
...
...
@@ -1268,7 +1268,7 @@
@ cdecl _wtoi(wstr) msvcrt._wtoi
@ cdecl -ret64 _wtoi64(wstr) msvcrt._wtoi64
@ stub _wtoi64_l
@
stub
_wtoi_l
@
cdecl _wtoi_l(wstr ptr) msvcrt.
_wtoi_l
@ cdecl _wtol(wstr) msvcrt._wtol
@ stub _wtol_l
@ cdecl _wunlink(wstr) msvcrt._wunlink
...
...
dlls/msvcr90/msvcr90.spec
View file @
3acb238f
...
...
@@ -1259,7 +1259,7 @@
@ cdecl _wtoi(wstr) msvcrt._wtoi
@ cdecl -ret64 _wtoi64(wstr) msvcrt._wtoi64
@ stub _wtoi64_l
@
stub
_wtoi_l
@
cdecl _wtoi_l(wstr ptr) msvcrt.
_wtoi_l
@ cdecl _wtol(wstr) msvcrt._wtol
@ stub _wtol_l
@ cdecl _wunlink(wstr) msvcrt._wunlink
...
...
dlls/msvcrt/msvcrt.spec
View file @
3acb238f
...
...
@@ -1199,7 +1199,7 @@
@ cdecl _wtoi(wstr) ntdll._wtoi
@ cdecl -ret64 _wtoi64(wstr) ntdll._wtoi64
# stub -ret64 _wtoi64_l(wstr ptr)
# stub _wtoi_l(wstr ptr)
@ cdecl _wtoi_l(wstr ptr) MSVCRT__wtoi_l
@ cdecl _wtol(wstr) ntdll._wtol
# stub _wtol_l(wstr ptr)
@ cdecl _wunlink(wstr) MSVCRT__wunlink
...
...
dlls/msvcrt/wcs.c
View file @
3acb238f
...
...
@@ -1438,6 +1438,23 @@ __int64 CDECL MSVCRT__wcstoi64(const MSVCRT_wchar_t *nptr,
}
/*********************************************************************
* _wtoi_l (MSVCRT.@)
*/
int
MSVCRT__wtoi_l
(
const
MSVCRT_wchar_t
*
str
,
MSVCRT__locale_t
locale
)
{
__int64
ret
=
MSVCRT__wcstoi64_l
(
str
,
NULL
,
10
,
locale
);
if
(
ret
>
INT_MAX
)
{
ret
=
INT_MAX
;
*
MSVCRT__errno
()
=
MSVCRT_ERANGE
;
}
else
if
(
ret
<
INT_MIN
)
{
ret
=
INT_MIN
;
*
MSVCRT__errno
()
=
MSVCRT_ERANGE
;
}
return
ret
;
}
/*********************************************************************
* _wcstoui64_l (MSVCRT.@)
*
* FIXME: locale parameter is ignored
...
...
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