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
97bad691
Commit
97bad691
authored
Apr 19, 2010
by
Piotr Caban
Committed by
Alexandre Julliard
Apr 19, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Added implementations of _vswprintf* functions.
parent
743e6ba6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
34 additions
and
23 deletions
+34
-23
msvcr80.spec
dlls/msvcr80/msvcr80.spec
+7
-7
msvcr90.spec
dlls/msvcr90/msvcr90.spec
+7
-7
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+6
-6
wcs.c
dlls/msvcrt/wcs.c
+14
-3
No files found.
dlls/msvcr80/msvcr80.spec
View file @
97bad691
...
...
@@ -1061,13 +1061,13 @@
@ stub _vsprintf_p
@ stub _vsprintf_p_l
@ stub _vsprintf_s_l
@
stub
_vswprintf
@
stub
_vswprintf_c
@
stub
_vswprintf_c_l
@
stub
_vswprintf_l
@
stub _vswprintf_p
@
stub
_vswprintf_p_l
@
stub
_vswprintf_s_l
@
cdecl _vswprintf(ptr long wstr ptr) msvcrt.
_vswprintf
@
cdecl _vswprintf_c(ptr long wstr ptr) msvcrt.
_vswprintf_c
@
cdecl _vswprintf_c_l(ptr long wstr ptr ptr) msvcrt.
_vswprintf_c_l
@
cdecl _vswprintf_l(ptr long wstr ptr ptr) msvcrt.
_vswprintf_l
@
cdecl _vswprintf_p(ptr long wstr ptr) msvcrt._vswprintf
@
cdecl _vswprintf_p_l(ptr long wstr ptr ptr) msvcrt.
_vswprintf_p_l
@
cdecl _vswprintf_s_l(ptr long wstr ptr ptr) msvcrt.
_vswprintf_s_l
@ stub _vwprintf_l
@ stub _vwprintf_p
@ stub _vwprintf_p_l
...
...
dlls/msvcr90/msvcr90.spec
View file @
97bad691
...
...
@@ -1048,13 +1048,13 @@
@ stub _vsprintf_p
@ stub _vsprintf_p_l
@ stub _vsprintf_s_l
@
stub
_vswprintf
@
stub
_vswprintf_c
@
stub
_vswprintf_c_l
@
stub
_vswprintf_l
@
stub _vswprintf_p
@
stub
_vswprintf_p_l
@
stub
_vswprintf_s_l
@
cdecl _vswprintf(ptr long wstr ptr) msvcrt.
_vswprintf
@
cdecl _vswprintf_c(ptr long wstr ptr) msvcrt.
_vswprintf_c
@
cdecl _vswprintf_c_l(ptr long wstr ptr ptr) msvcrt.
_vswprintf_c_l
@
cdecl _vswprintf_l(ptr long wstr ptr ptr) msvcrt.
_vswprintf_l
@
cdecl _vswprintf_p(ptr long wstr ptr) msvcrt._vswprintf
@
cdecl _vswprintf_p_l(ptr long wstr ptr ptr) msvcrt.
_vswprintf_p_l
@
cdecl _vswprintf_s_l(ptr long wstr ptr ptr) msvcrt.
_vswprintf_s_l
@ stub _vwprintf_l
@ stub _vwprintf_p
@ stub _vwprintf_p_l
...
...
dlls/msvcrt/msvcrt.spec
View file @
97bad691
...
...
@@ -990,12 +990,12 @@
# stub _vsprintf_p
# stub _vsprintf_p_l
# stub _vsprintf_s_l
# stub _vs
wprintf
# stub _vswprintf_c
# stub _vswprintf_c
_l
# stub _vs
wprintf_l
# stub _vswprintf_p
_l
# stub
_vswprintf_s_l
@ cdecl _vswprintf(ptr long wstr ptr) MSVCRT_vsn
wprintf
@ cdecl _vswprintf_c(ptr long wstr ptr) MSVCRT_vsnwprintf
@ cdecl _vswprintf_c_l(ptr long wstr ptr ptr) MSVCRT_vsnwprintf
_l
@ cdecl _vswprintf_l(ptr long wstr ptr ptr) MSVCRT_vsn
wprintf_l
@ cdecl _vswprintf_p_l(ptr long wstr ptr ptr) MSVCRT_vsnwprintf
_l
@ cdecl _vswprintf_s_l(ptr long wstr ptr ptr) MSVCRT
_vswprintf_s_l
# stub _vwprintf_l
# stub _vwprintf_p
# stub _vwprintf_p_l
...
...
dlls/msvcrt/wcs.c
View file @
97bad691
...
...
@@ -1083,10 +1083,21 @@ int CDECL _vscwprintf( const MSVCRT_wchar_t *format, __ms_va_list args )
/*********************************************************************
* vswprintf_s (MSVCRT.@)
*/
int
CDECL
MSVCRT_vswprintf_s
(
MSVCRT_wchar_t
*
str
,
MSVCRT_size_t
num
,
const
MSVCRT_wchar_t
*
format
,
__ms_va_list
args
)
int
CDECL
MSVCRT_vswprintf_s
(
MSVCRT_wchar_t
*
str
,
MSVCRT_size_t
numberOfElements
,
const
MSVCRT_wchar_t
*
format
,
__ms_va_list
args
)
{
/* FIXME: must handle positional arguments */
return
MSVCRT_vsnwprintf
(
str
,
num
,
format
,
args
);
return
MSVCRT_vsnwprintf_s
(
str
,
numberOfElements
*
sizeof
(
MSVCRT_wchar_t
),
INT_MAX
,
format
,
args
);
}
/*********************************************************************
* _vswprintf_s_l (MSVCRT.@)
*/
int
CDECL
MSVCRT_vswprintf_s_l
(
MSVCRT_wchar_t
*
str
,
MSVCRT_size_t
numberOfElements
,
const
MSVCRT_wchar_t
*
format
,
MSVCRT__locale_t
locale
,
__ms_va_list
args
)
{
return
MSVCRT_vsnwprintf_s_l
(
str
,
numberOfElements
*
sizeof
(
MSVCRT_wchar_t
),
INT_MAX
,
format
,
locale
,
args
);
}
/*********************************************************************
...
...
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