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
15b40e7b
Commit
15b40e7b
authored
Mar 27, 2013
by
Piotr Caban
Committed by
Alexandre Julliard
Mar 27, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Don't forward atoi to ntdll.
parent
06c67738
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+1
-1
string.c
dlls/msvcrt/string.c
+9
-1
No files found.
dlls/msvcrt/msvcrt.spec
View file @
15b40e7b
...
...
@@ -1249,7 +1249,7 @@
@ cdecl -arch=arm,x86_64 atan2f(float float) MSVCRT_atan2f
@ cdecl atexit(ptr) MSVCRT_atexit
@ cdecl atof(str) MSVCRT_atof
@ cdecl atoi(str)
ntdll.
atoi
@ cdecl atoi(str)
MSVCRT_
atoi
@ cdecl atol(str) ntdll.atol
@ cdecl bsearch(ptr ptr long long ptr) ntdll.bsearch
@ cdecl bsearch_s(ptr ptr long long ptr ptr) MSVCRT_bsearch_s
...
...
dlls/msvcrt/string.c
View file @
15b40e7b
...
...
@@ -861,7 +861,7 @@ __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
)
int
__cdecl
MSVCRT__atoi_l
(
const
char
*
str
,
MSVCRT__locale_t
locale
)
{
__int64
ret
=
MSVCRT_strtoi64_l
(
str
,
NULL
,
10
,
locale
);
...
...
@@ -876,6 +876,14 @@ int MSVCRT__atoi_l(const char *str, MSVCRT__locale_t locale)
}
/*********************************************************************
* atoi (MSVCRT.@)
*/
int
__cdecl
MSVCRT_atoi
(
const
char
*
str
)
{
return
MSVCRT__atoi_l
(
str
,
NULL
);
}
/*********************************************************************
* _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