Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
77306693
Commit
77306693
authored
Dec 12, 2012
by
Piotr Caban
Committed by
Alexandre Julliard
Dec 12, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcr100: Added _sprintf_p implementation.
parent
d958ecbc
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
3 deletions
+19
-3
msvcr100.c
dlls/msvcr100/msvcr100.c
+15
-0
msvcr100.spec
dlls/msvcr100/msvcr100.spec
+1
-1
msvcr80.spec
dlls/msvcr80/msvcr80.spec
+1
-1
msvcr90.spec
dlls/msvcr90/msvcr90.spec
+1
-1
stdio.h
include/msvcrt/stdio.h
+1
-0
No files found.
dlls/msvcr100/msvcr100.c
View file @
77306693
...
...
@@ -458,6 +458,21 @@ size_t CDECL fread_s(void *buf, size_t buf_size, size_t elem_size, size_t count,
}
/*********************************************************************
* _sprintf_p (MSVCR100.@)
*/
int
CDECL
_sprintf_p
(
char
*
buffer
,
size_t
length
,
const
char
*
format
,
...)
{
__ms_va_list
valist
;
int
r
;
__ms_va_start
(
valist
,
format
);
r
=
_vsprintf_p_l
(
buffer
,
length
,
format
,
NULL
,
valist
);
__ms_va_end
(
valist
);
return
r
;
}
/*********************************************************************
* DllMain (MSVCR100.@)
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
hdll
,
DWORD
reason
,
LPVOID
reserved
)
...
...
dlls/msvcr100/msvcr100.spec
View file @
77306693
...
...
@@ -1312,7 +1312,7 @@
@ cdecl _splitpath(str ptr ptr ptr ptr) msvcrt._splitpath
@ cdecl _splitpath_s(str ptr long ptr long ptr long ptr long) msvcrt._splitpath_s
@ stub _sprintf_l
@
stub _sprintf_p
@
varargs _sprintf_p(ptr long str)
@ varargs _sprintf_p_l(ptr long str ptr) msvcrt._sprintf_p_l
@ stub _sprintf_s_l
@ varargs _sscanf_l(str str ptr) msvcrt._sscanf_l
...
...
dlls/msvcr80/msvcr80.spec
View file @
77306693
...
...
@@ -974,7 +974,7 @@
@ cdecl _splitpath(str ptr ptr ptr ptr) msvcrt._splitpath
@ cdecl _splitpath_s(str ptr long ptr long ptr long ptr long) msvcrt._splitpath_s
@ stub _sprintf_l
@
stub
_sprintf_p
@
varargs _sprintf_p(ptr long str) msvcr100.
_sprintf_p
@ varargs _sprintf_p_l(ptr long str ptr) msvcrt._sprintf_p_l
@ stub _sprintf_s_l
@ varargs _sscanf_l(str str ptr) msvcrt._sscanf_l
...
...
dlls/msvcr90/msvcr90.spec
View file @
77306693
...
...
@@ -967,7 +967,7 @@
@ cdecl _splitpath(str ptr ptr ptr ptr) msvcrt._splitpath
@ cdecl _splitpath_s(str ptr long ptr long ptr long ptr long) msvcrt._splitpath_s
@ stub _sprintf_l
@
stub
_sprintf_p
@
varargs _sprintf_p(ptr long str) msvcr100.
_sprintf_p
@ varargs _sprintf_p_l(ptr long str ptr) msvcrt._sprintf_p_l
@ stub _sprintf_s_l
@ varargs _sscanf_l(str str ptr) msvcrt._sscanf_l
...
...
include/msvcrt/stdio.h
View file @
77306693
...
...
@@ -125,6 +125,7 @@ int __cdecl _scprintf(const char*,...);
int
__cdecl
_vscprintf
(
const
char
*
,
__ms_va_list
);
int
__cdecl
_vsnprintf
(
char
*
,
size_t
,
const
char
*
,
__ms_va_list
);
int
__cdecl
_vsnprintf_s
(
char
*
,
size_t
,
size_t
,
const
char
*
,
__ms_va_list
);
int
__cdecl
_vsprintf_p_l
(
char
*
,
size_t
,
const
char
*
,
_locale_t
,
__ms_va_list
);
void
__cdecl
clearerr
(
FILE
*
);
int
__cdecl
fclose
(
FILE
*
);
...
...
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