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
9b527d49
Commit
9b527d49
authored
Mar 07, 2005
by
Jason Edmeades
Committed by
Alexandre Julliard
Mar 07, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make msvcrt printf use the internal routines which understand %S and
%C.
parent
de70942e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
file.c
dlls/msvcrt/file.c
+1
-1
msvcrt.h
dlls/msvcrt/msvcrt.h
+1
-0
No files found.
dlls/msvcrt/file.c
View file @
9b527d49
...
...
@@ -2851,7 +2851,7 @@ int MSVCRT_vfprintf(MSVCRT_FILE* file, const char *format, va_list valist)
* Return the number of bytes that would have been written
* The code below handles both cases
*/
while
((
written
=
vsnprintf
(
mem
,
resize
,
format
,
valist
))
==
-
1
||
while
((
written
=
MSVCRT_
vsnprintf
(
mem
,
resize
,
format
,
valist
))
==
-
1
||
written
>
resize
)
{
resize
=
(
written
==
-
1
?
resize
*
2
:
written
+
1
);
...
...
dlls/msvcrt/msvcrt.h
View file @
9b527d49
...
...
@@ -576,6 +576,7 @@ double MSVCRT_difftime(MSVCRT_time_t time1, MSVCRT_time_t time2);
MSVCRT_time_t
MSVCRT_time
(
MSVCRT_time_t
*
);
void
*
MSVCRT___p__daylight
(
void
);
MSVCRT_FILE
*
MSVCRT__fdopen
(
int
,
const
char
*
);
int
MSVCRT_vsnprintf
(
char
*
str
,
unsigned
int
len
,
const
char
*
format
,
va_list
valist
);
#ifndef __WINE_MSVCRT_TEST
int
_write
(
int
,
const
void
*
,
unsigned
int
);
...
...
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