Commit 48c00662 authored by Sam Dennis's avatar Sam Dennis Committed by Alexandre Julliard

msvcrt: Use the custom vsnprintf implementation for msvcrt.vsprintf too.

parent 5b1f3b14
...@@ -738,7 +738,7 @@ ...@@ -738,7 +738,7 @@
@ cdecl vfprintf(ptr str long) MSVCRT_vfprintf @ cdecl vfprintf(ptr str long) MSVCRT_vfprintf
@ cdecl vfwprintf(ptr wstr long) MSVCRT_vfwprintf @ cdecl vfwprintf(ptr wstr long) MSVCRT_vfwprintf
@ cdecl vprintf(str long) MSVCRT_vprintf @ cdecl vprintf(str long) MSVCRT_vprintf
@ cdecl vsprintf(ptr str ptr) ntdll.vsprintf @ cdecl vsprintf(ptr str ptr) MSVCRT_vsprintf
@ cdecl vswprintf(ptr wstr long) MSVCRT_vswprintf @ cdecl vswprintf(ptr wstr long) MSVCRT_vswprintf
@ cdecl vwprintf(wstr long) MSVCRT_vwprintf @ cdecl vwprintf(wstr long) MSVCRT_vwprintf
@ cdecl wcscat(wstr wstr) ntdll.wcscat @ cdecl wcscat(wstr wstr) ntdll.wcscat
......
...@@ -759,6 +759,14 @@ int CDECL MSVCRT_vsnprintf( char *str, unsigned int len, ...@@ -759,6 +759,14 @@ int CDECL MSVCRT_vsnprintf( char *str, unsigned int len,
} }
/********************************************************************* /*********************************************************************
* vsprintf (MSVCRT.@)
*/
int CDECL MSVCRT_vsprintf( char *str, const char *format, va_list valist)
{
return MSVCRT_vsnprintf(str, INT_MAX, format, valist);
}
/*********************************************************************
* _snprintf (MSVCRT.@) * _snprintf (MSVCRT.@)
*/ */
int CDECL MSVCRT__snprintf(char *str, unsigned int len, const char *format, ...) int CDECL MSVCRT__snprintf(char *str, unsigned int len, const char *format, ...)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment