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
ddad22d0
Commit
ddad22d0
authored
May 16, 2011
by
Piotr Caban
Committed by
Alexandre Julliard
May 16, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Fix return values in wcstombs and wcsrtombs functions.
parent
c43176b0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
wcs.c
dlls/msvcrt/wcs.c
+4
-4
No files found.
dlls/msvcrt/wcs.c
View file @
ddad22d0
...
...
@@ -376,7 +376,7 @@ MSVCRT_size_t CDECL MSVCRT_wcsrtombs(char *mbstr, const MSVCRT_wchar_t **wcstr,
/*********************************************************************
* MSVCRT_wcsrtombs_s_l (INTERNAL)
*/
static
MSVCRT_size_
t
MSVCRT_wcsrtombs_s_l
(
MSVCRT_size_t
*
ret
,
char
*
mbstr
,
static
in
t
MSVCRT_wcsrtombs_s_l
(
MSVCRT_size_t
*
ret
,
char
*
mbstr
,
MSVCRT_size_t
size
,
const
MSVCRT_wchar_t
**
wcstr
,
MSVCRT_size_t
count
,
MSVCRT__locale_t
locale
)
{
...
...
@@ -423,7 +423,7 @@ static MSVCRT_size_t MSVCRT_wcsrtombs_s_l(MSVCRT_size_t *ret, char *mbstr,
/*********************************************************************
* _wcstombs_s_l (MSVCRT.@)
*/
MSVCRT_size_
t
CDECL
MSVCRT__wcstombs_s_l
(
MSVCRT_size_t
*
ret
,
char
*
mbstr
,
in
t
CDECL
MSVCRT__wcstombs_s_l
(
MSVCRT_size_t
*
ret
,
char
*
mbstr
,
MSVCRT_size_t
size
,
const
MSVCRT_wchar_t
*
wcstr
,
MSVCRT_size_t
count
,
MSVCRT__locale_t
locale
)
{
...
...
@@ -433,7 +433,7 @@ MSVCRT_size_t CDECL MSVCRT__wcstombs_s_l(MSVCRT_size_t *ret, char *mbstr,
/*********************************************************************
* wcstombs_s (MSVCRT.@)
*/
MSVCRT_size_
t
CDECL
MSVCRT_wcstombs_s
(
MSVCRT_size_t
*
ret
,
char
*
mbstr
,
in
t
CDECL
MSVCRT_wcstombs_s
(
MSVCRT_size_t
*
ret
,
char
*
mbstr
,
MSVCRT_size_t
size
,
const
MSVCRT_wchar_t
*
wcstr
,
MSVCRT_size_t
count
)
{
return
MSVCRT_wcsrtombs_s_l
(
ret
,
mbstr
,
size
,
&
wcstr
,
count
,
NULL
);
...
...
@@ -442,7 +442,7 @@ MSVCRT_size_t CDECL MSVCRT_wcstombs_s(MSVCRT_size_t *ret, char *mbstr,
/*********************************************************************
* wcsrtombs_s (MSVCRT.@)
*/
MSVCRT_size_
t
CDECL
MSVCRT_wcsrtombs_s
(
MSVCRT_size_t
*
ret
,
char
*
mbstr
,
MSVCRT_size_t
size
,
in
t
CDECL
MSVCRT_wcsrtombs_s
(
MSVCRT_size_t
*
ret
,
char
*
mbstr
,
MSVCRT_size_t
size
,
const
MSVCRT_wchar_t
**
wcstr
,
MSVCRT_size_t
count
,
MSVCRT_mbstate_t
*
mbstate
)
{
if
(
mbstate
)
...
...
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