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
35602d41
Commit
35602d41
authored
Sep 19, 2007
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Added implementation for __STRINGTOLD.
parent
6bbd3cac
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
+16
-2
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+1
-1
string.c
dlls/msvcrt/string.c
+15
-1
No files found.
dlls/msvcrt/msvcrt.spec
View file @
35602d41
...
...
@@ -80,7 +80,7 @@
@ cdecl __RTCastToVoid(ptr) MSVCRT___RTCastToVoid
@ cdecl __RTDynamicCast(ptr long ptr ptr long) MSVCRT___RTDynamicCast
@ cdecl __RTtypeid(ptr) MSVCRT___RTtypeid
@
stub __STRINGTOLD #
(ptr ptr str long)
@
cdecl __STRINGTOLD
(ptr ptr str long)
@ extern __argc MSVCRT___argc
@ extern __argv MSVCRT___argv
@ extern __badioinfo MSVCRT___badioinfo
...
...
dlls/msvcrt/string.c
View file @
35602d41
...
...
@@ -174,7 +174,7 @@ int CDECL MSVCRT__stricoll( const char* str1, const char* str2 )
/********************************************************************
* _atoldbl (MSVCRT.@)
*/
int
CDECL
MSVCRT__atoldbl
(
MSVCRT__LDOUBLE
*
value
,
char
*
str
)
int
CDECL
MSVCRT__atoldbl
(
MSVCRT__LDOUBLE
*
value
,
const
char
*
str
)
{
/* FIXME needs error checking for huge/small values */
#ifdef HAVE_STRTOLD
...
...
@@ -185,3 +185,17 @@ int CDECL MSVCRT__atoldbl(MSVCRT__LDOUBLE * value, char * str)
#endif
return
0
;
}
/********************************************************************
* __STRINGTOLD (MSVCRT.@)
*/
int
CDECL
__STRINGTOLD
(
MSVCRT__LDOUBLE
*
value
,
char
**
endptr
,
const
char
*
str
,
int
flags
)
{
#ifdef HAVE_STRTOLD
FIXME
(
"%p %p %s %x partial stub
\n
"
,
value
,
endptr
,
str
,
flags
);
value
->
x
=
strtold
(
str
,
endptr
);
#else
FIXME
(
"%p %p %s %x stub
\n
"
,
value
,
endptr
,
str
,
flags
);
#endif
return
0
;
}
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