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
67954241
Commit
67954241
authored
Jul 28, 2013
by
Piotr Caban
Committed by
Alexandre Julliard
Jul 29, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Add _wcstol_l implementation.
parent
5dc468f0
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
23 additions
and
5 deletions
+23
-5
msvcr100.spec
dlls/msvcr100/msvcr100.spec
+1
-1
msvcr110.spec
dlls/msvcr110/msvcr110.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
+18
-0
No files found.
dlls/msvcr100/msvcr100.spec
View file @
67954241
...
...
@@ -1505,7 +1505,7 @@
@ cdecl _wcstod_l(wstr ptr) msvcrt._wcstod_l
@ cdecl -ret64 _wcstoi64(wstr ptr long) msvcrt._wcstoi64
@ cdecl -ret64 _wcstoi64_l(wstr ptr long ptr) msvcrt._wcstoi64_l
@
stub
_wcstol_l
@
cdecl _wcstol_l(wstr ptr long ptr) msvcrt.
_wcstol_l
@ cdecl _wcstombs_l(ptr ptr long ptr) msvcrt._wcstombs_l
@ cdecl _wcstombs_s_l(ptr ptr long wstr long ptr) msvcrt._wcstombs_s_l
@ cdecl -ret64 _wcstoui64(wstr ptr long) msvcrt._wcstoui64
...
...
dlls/msvcr110/msvcr110.spec
View file @
67954241
...
...
@@ -1868,7 +1868,7 @@
@ cdecl _wcstod_l(wstr ptr) msvcrt._wcstod_l
@ cdecl -ret64 _wcstoi64(wstr ptr long) msvcrt._wcstoi64
@ cdecl -ret64 _wcstoi64_l(wstr ptr long ptr) msvcrt._wcstoi64_l
@
stub
_wcstol_l
@
cdecl _wcstol_l(wstr ptr long ptr) msvcrt.
_wcstol_l
@ cdecl _wcstombs_l(ptr ptr long ptr) msvcrt._wcstombs_l
@ cdecl _wcstombs_s_l(ptr ptr long wstr long ptr) msvcrt._wcstombs_s_l
@ cdecl -ret64 _wcstoui64(wstr ptr long) msvcrt._wcstoui64
...
...
dlls/msvcr80/msvcr80.spec
View file @
67954241
...
...
@@ -1183,7 +1183,7 @@
@ cdecl _wcstod_l(wstr ptr) msvcrt._wcstod_l
@ cdecl -ret64 _wcstoi64(wstr ptr long) msvcrt._wcstoi64
@ cdecl -ret64 _wcstoi64_l(wstr ptr long ptr) msvcrt._wcstoi64_l
@
stub
_wcstol_l
@
cdecl _wcstol_l(wstr ptr long ptr) msvcrt.
_wcstol_l
@ cdecl _wcstombs_l(ptr ptr long ptr) msvcrt._wcstombs_l
@ cdecl _wcstombs_s_l(ptr ptr long wstr long ptr) msvcrt._wcstombs_s_l
@ cdecl -ret64 _wcstoui64(wstr ptr long) msvcrt._wcstoui64
...
...
dlls/msvcr90/msvcr90.spec
View file @
67954241
...
...
@@ -1159,7 +1159,7 @@
@ cdecl _wcstod_l(wstr ptr) msvcrt._wcstod_l
@ cdecl -ret64 _wcstoi64(wstr ptr long) msvcrt._wcstoi64
@ cdecl -ret64 _wcstoi64_l(wstr ptr long ptr) msvcrt._wcstoi64_l
@
stub
_wcstol_l
@
cdecl _wcstol_l(wstr ptr long ptr) msvcrt.
_wcstol_l
@ cdecl _wcstombs_l(ptr ptr long ptr) msvcrt._wcstombs_l
@ cdecl _wcstombs_s_l(ptr ptr long wstr long ptr) msvcrt._wcstombs_s_l
@ cdecl -ret64 _wcstoui64(wstr ptr long) msvcrt._wcstoui64
...
...
dlls/msvcrt/msvcrt.spec
View file @
67954241
...
...
@@ -1123,7 +1123,7 @@
@ cdecl _wcstod_l(wstr ptr) MSVCRT__wcstod_l
@ cdecl -ret64 _wcstoi64(wstr ptr long) MSVCRT__wcstoi64
@ cdecl -ret64 _wcstoi64_l(wstr ptr long ptr) MSVCRT__wcstoi64_l
# stub _wcstol_l(wstr ptr long ptr)
@ cdecl _wcstol_l(wstr ptr long ptr) MSVCRT__wcstol_l
@ cdecl _wcstombs_l(ptr ptr long ptr) MSVCRT__wcstombs_l
@ cdecl _wcstombs_s_l(ptr ptr long wstr long ptr) MSVCRT__wcstombs_s_l
@ cdecl -ret64 _wcstoui64(wstr ptr long) MSVCRT__wcstoui64
...
...
dlls/msvcrt/wcs.c
View file @
67954241
...
...
@@ -1613,6 +1613,24 @@ __int64 CDECL MSVCRT__wcstoi64(const MSVCRT_wchar_t *nptr,
}
/*********************************************************************
* _wcstol_l (MSVCRT.@)
*/
MSVCRT_long
CDECL
MSVCRT__wcstol_l
(
const
MSVCRT_wchar_t
*
s
,
MSVCRT_wchar_t
**
end
,
int
base
,
MSVCRT__locale_t
locale
)
{
__int64
ret
=
MSVCRT__wcstoi64_l
(
s
,
end
,
base
,
locale
);
if
(
ret
>
MSVCRT_LONG_MAX
)
{
ret
=
MSVCRT_LONG_MAX
;
*
MSVCRT__errno
()
=
MSVCRT_ERANGE
;
}
else
if
(
ret
<
MSVCRT_LONG_MIN
)
{
ret
=
MSVCRT_LONG_MIN
;
*
MSVCRT__errno
()
=
MSVCRT_ERANGE
;
}
return
ret
;
}
/*********************************************************************
* _wtoi_l (MSVCRT.@)
*/
int
__cdecl
MSVCRT__wtoi_l
(
const
MSVCRT_wchar_t
*
str
,
MSVCRT__locale_t
locale
)
...
...
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