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
b5cf3057
Commit
b5cf3057
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 _atoi_l implementation.
parent
3acb238f
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
string.c
dlls/msvcrt/string.c
+17
-0
No files found.
dlls/msvcr100/msvcr100.spec
View file @
b5cf3057
...
...
@@ -693,7 +693,7 @@
@ cdecl _atoflt_l(ptr str ptr) msvcrt._atoflt_l
@ cdecl -ret64 _atoi64(str) msvcrt._atoi64
@ stub _atoi64_l
@
stub
_atoi_l
@
cdecl _atoi_l(str ptr) msvcrt.
_atoi_l
@ stub _atol_l
@ cdecl _atoldbl(ptr str) msvcrt._atoldbl
@ stub _atoldbl_l
...
...
dlls/msvcr80/msvcr80.spec
View file @
b5cf3057
...
...
@@ -349,7 +349,7 @@
@ cdecl _atoflt_l(ptr str ptr) msvcrt._atoflt_l
@ cdecl -ret64 _atoi64(str) msvcrt._atoi64
@ stub _atoi64_l
@
stub
_atoi_l
@
cdecl _atoi_l(str ptr) msvcrt.
_atoi_l
@ stub _atol_l
@ cdecl _atoldbl(ptr str) msvcrt._atoldbl
@ stub _atoldbl_l
...
...
dlls/msvcr90/msvcr90.spec
View file @
b5cf3057
...
...
@@ -341,7 +341,7 @@
@ cdecl _atoflt_l(ptr str ptr) msvcrt._atoflt_l
@ cdecl -ret64 _atoi64(str) msvcrt._atoi64
@ stub _atoi64_l
@
stub
_atoi_l
@
cdecl _atoi_l(str ptr) msvcrt.
_atoi_l
@ stub _atol_l
@ cdecl _atoldbl(ptr str) msvcrt._atoldbl
@ stub _atoldbl_l
...
...
dlls/msvcrt/msvcrt.spec
View file @
b5cf3057
...
...
@@ -306,7 +306,7 @@
@ cdecl _atoflt_l(ptr str ptr) MSVCRT__atoflt_l
@ cdecl -ret64 _atoi64(str) ntdll._atoi64
# stub -ret64 _atoi64_l(str ptr)
# stub _atoi_l(str ptr)
@ cdecl _atoi_l(str ptr) MSVCRT__atoi_l
# stub _atol_l(str ptr)
@ cdecl _atoldbl(ptr str) MSVCRT__atoldbl
# stub _atoldbl_l(ptr str ptr)
...
...
dlls/msvcrt/string.c
View file @
b5cf3057
...
...
@@ -915,6 +915,23 @@ __int64 CDECL MSVCRT_strtoi64(const char *nptr, char **endptr, int base)
}
/*********************************************************************
* _atoi_l (MSVCRT.@)
*/
int
MSVCRT__atoi_l
(
const
char
*
str
,
MSVCRT__locale_t
locale
)
{
__int64
ret
=
MSVCRT_strtoi64_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
;
}
/*********************************************************************
* _strtoui64_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