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

This commit is contained in:
Sam Dennis 2006-11-14 11:29:18 +00:00 committed by Alexandre Julliard
parent 5b1f3b14ca
commit 48c006621d
2 changed files with 9 additions and 1 deletions

View File

@ -738,7 +738,7 @@
@ cdecl vfprintf(ptr str long) MSVCRT_vfprintf
@ cdecl vfwprintf(ptr wstr long) MSVCRT_vfwprintf
@ 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 vwprintf(wstr long) MSVCRT_vwprintf
@ cdecl wcscat(wstr wstr) ntdll.wcscat

View File

@ -758,6 +758,14 @@ int CDECL MSVCRT_vsnprintf( char *str, unsigned int len,
return r;
}
/*********************************************************************
* vsprintf (MSVCRT.@)
*/
int CDECL MSVCRT_vsprintf( char *str, const char *format, va_list valist)
{
return MSVCRT_vsnprintf(str, INT_MAX, format, valist);
}
/*********************************************************************
* _snprintf (MSVCRT.@)
*/