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
bd1428ef
Commit
bd1428ef
authored
Jan 20, 2015
by
Piotr Caban
Committed by
Alexandre Julliard
Jan 20, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Add _vscprintf_p implementation.
parent
57582b37
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
49 additions
and
13 deletions
+49
-13
msvcr100.spec
dlls/msvcr100/msvcr100.spec
+2
-2
msvcr110.spec
dlls/msvcr110/msvcr110.spec
+2
-2
msvcr120.spec
dlls/msvcr120/msvcr120.spec
+2
-2
msvcr120_app.spec
dlls/msvcr120_app/msvcr120_app.spec
+2
-2
msvcr80.spec
dlls/msvcr80/msvcr80.spec
+2
-2
msvcr90.spec
dlls/msvcr90/msvcr90.spec
+2
-2
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+1
-1
wcs.c
dlls/msvcrt/wcs.c
+36
-0
No files found.
dlls/msvcr100/msvcr100.spec
View file @
bd1428ef
...
...
@@ -1446,8 +1446,8 @@
@ stub _vprintf_s_l
@ cdecl _vscprintf(str ptr) MSVCRT__vscprintf
@ stub _vscprintf_l
@
stub
_vscprintf_p
@
stub
_vscprintf_p_l
@
cdecl _vscprintf_p(str ptr) MSVCRT_
_vscprintf_p
@
cdecl _vscprintf_p_l(str ptr ptr) MSVCRT_
_vscprintf_p_l
@ cdecl _vscwprintf(wstr ptr) MSVCRT__vscwprintf
@ cdecl _vscwprintf_l(wstr ptr ptr) MSVCRT__vscwprintf_l
@ cdecl _vscwprintf_p(wstr ptr) MSVCRT__vscwprintf_p
...
...
dlls/msvcr110/msvcr110.spec
View file @
bd1428ef
...
...
@@ -1804,8 +1804,8 @@
@ stub _vprintf_s_l
@ cdecl _vscprintf(str ptr) MSVCRT__vscprintf
@ stub _vscprintf_l
@
stub
_vscprintf_p
@
stub
_vscprintf_p_l
@
cdecl _vscprintf_p(str ptr) MSVCRT_
_vscprintf_p
@
cdecl _vscprintf_p_l(str ptr ptr) MSVCRT_
_vscprintf_p_l
@ cdecl _vscwprintf(wstr ptr) MSVCRT__vscwprintf
@ cdecl _vscwprintf_l(wstr ptr ptr) MSVCRT__vscwprintf_l
@ cdecl _vscwprintf_p(wstr ptr) MSVCRT__vscwprintf_p
...
...
dlls/msvcr120/msvcr120.spec
View file @
bd1428ef
...
...
@@ -1819,8 +1819,8 @@
@ stub _vprintf_s_l
@ cdecl _vscprintf(str ptr) MSVCRT__vscprintf
@ stub _vscprintf_l
@
stub
_vscprintf_p
@
stub
_vscprintf_p_l
@
cdecl _vscprintf_p(str ptr) MSVCRT_
_vscprintf_p
@
cdecl _vscprintf_p_l(str ptr ptr) MSVCRT_
_vscprintf_p_l
@ cdecl _vscwprintf(wstr ptr) MSVCRT__vscwprintf
@ cdecl _vscwprintf_l(wstr ptr ptr) MSVCRT__vscwprintf_l
@ cdecl _vscwprintf_p(wstr ptr) MSVCRT__vscwprintf_p
...
...
dlls/msvcr120_app/msvcr120_app.spec
View file @
bd1428ef
...
...
@@ -1516,8 +1516,8 @@
@ stub _vprintf_s_l
@ cdecl _vscprintf(str ptr) msvcr120._vscprintf
@ stub _vscprintf_l
@
stub
_vscprintf_p
@
stub
_vscprintf_p_l
@
cdecl _vscprintf_p(str ptr) msvcr120.
_vscprintf_p
@
cdecl _vscprintf_p_l(str ptr ptr) msvcr120.
_vscprintf_p_l
@ cdecl _vscwprintf(wstr ptr) msvcr120._vscwprintf
@ cdecl _vscwprintf_l(wstr ptr ptr) msvcr120._vscwprintf_l
@ cdecl _vscwprintf_p(wstr ptr) msvcr120._vscwprintf_p
...
...
dlls/msvcr80/msvcr80.spec
View file @
bd1428ef
...
...
@@ -1126,8 +1126,8 @@
@ stub _vprintf_s_l
@ cdecl _vscprintf(str ptr) MSVCRT__vscprintf
@ stub _vscprintf_l
@
stub
_vscprintf_p
@
stub
_vscprintf_p_l
@
cdecl _vscprintf_p(str ptr) MSVCRT_
_vscprintf_p
@
cdecl _vscprintf_p_l(str ptr ptr) MSVCRT_
_vscprintf_p_l
@ cdecl _vscwprintf(wstr ptr) MSVCRT__vscwprintf
@ cdecl _vscwprintf_l(wstr ptr ptr) MSVCRT__vscwprintf_l
@ cdecl _vscwprintf_p(wstr ptr) MSVCRT__vscwprintf_p
...
...
dlls/msvcr90/msvcr90.spec
View file @
bd1428ef
...
...
@@ -1101,8 +1101,8 @@
@ stub _vprintf_s_l
@ cdecl _vscprintf(str ptr) MSVCRT__vscprintf
@ stub _vscprintf_l
@
stub
_vscprintf_p
@
stub
_vscprintf_p_l
@
cdecl _vscprintf_p(str ptr) MSVCRT_
_vscprintf_p
@
cdecl _vscprintf_p_l(str ptr ptr) MSVCRT_
_vscprintf_p_l
@ cdecl _vscwprintf(wstr ptr) MSVCRT__vscwprintf
@ cdecl _vscwprintf_l(wstr ptr ptr) MSVCRT__vscwprintf_l
@ cdecl _vscwprintf_p(wstr ptr) MSVCRT__vscwprintf_p
...
...
dlls/msvcrt/msvcrt.spec
View file @
bd1428ef
...
...
@@ -1059,7 +1059,7 @@
@ cdecl _utime(str ptr)
@ cdecl _vscprintf(str ptr) MSVCRT__vscprintf
# stub _vscprintf_l(str ptr ptr)
# stub _vscprintf_p_l(str ptr ptr)
@ cdecl _vscprintf_p_l(str ptr ptr) MSVCRT__vscprintf_p_l
@ cdecl _vscwprintf(wstr ptr) MSVCRT__vscwprintf
@ cdecl _vscwprintf_l(wstr ptr ptr) MSVCRT__vscwprintf_l
@ cdecl _vscwprintf_p_l(wstr ptr ptr) MSVCRT__vscwprintf_p_l
...
...
dlls/msvcrt/wcs.c
View file @
bd1428ef
...
...
@@ -825,6 +825,42 @@ int CDECL MSVCRT__vscprintf( const char *format, __ms_va_list valist )
}
/*********************************************************************
* _vscprintf_p_l (MSVCRT.@)
*/
int
CDECL
MSVCRT__vscprintf_p_l
(
const
char
*
format
,
MSVCRT__locale_t
locale
,
__ms_va_list
args
)
{
printf_arg
args_ctx
[
MSVCRT__ARGMAX
+
1
];
struct
_str_ctx_a
puts_ctx
=
{
INT_MAX
,
NULL
};
int
ret
;
memset
(
args_ctx
,
0
,
sizeof
(
args_ctx
));
ret
=
create_positional_ctx_a
(
args_ctx
,
format
,
args
);
if
(
ret
<
0
)
{
MSVCRT__invalid_parameter
(
NULL
,
NULL
,
NULL
,
0
,
0
);
*
MSVCRT__errno
()
=
MSVCRT_EINVAL
;
return
ret
;
}
else
if
(
ret
==
0
)
{
ret
=
pf_printf_a
(
puts_clbk_str_a
,
&
puts_ctx
,
format
,
locale
,
FALSE
,
TRUE
,
arg_clbk_valist
,
NULL
,
&
args
);
}
else
{
ret
=
pf_printf_a
(
puts_clbk_str_a
,
&
puts_ctx
,
format
,
locale
,
TRUE
,
TRUE
,
arg_clbk_positional
,
args_ctx
,
NULL
);
}
return
ret
;
}
/*********************************************************************
* _vscprintf_p (MSVCR80.@)
*/
int
CDECL
MSVCRT__vscprintf_p
(
const
char
*
format
,
__ms_va_list
argptr
)
{
return
MSVCRT__vscprintf_p_l
(
format
,
NULL
,
argptr
);
}
/*********************************************************************
* _snprintf (MSVCRT.@)
*/
int
CDECL
MSVCRT__snprintf
(
char
*
str
,
unsigned
int
len
,
const
char
*
format
,
...)
...
...
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