[PATCH 10/14] [Msvcrt*]: implemented _vc(w)printf

Eric Pouech eric.pouech at orange.fr
Fri Nov 5 16:10:06 CDT 2010

Le 03/11/2010 10:53, Alexandre Julliard a écrit :
> Eric Pouech<eric.pouech at orange.fr>  writes:
>> +int CDECL _vcprintf(const char* format, __ms_va_list xvalist)
>>   {
>>     char buf[2048], *mem = buf;
>>     int written, resize = sizeof(buf), retval;
>> -  __ms_va_list valist;
>> +  __ms_va_list  valist = xvalist;
> You can't copy a valist. This needs to be integrated properly with the
> other printf functions.
I therefore suspect MSVCRT_vfprintf (in file.c) to be buggy as well as 
the va_list isn't reset between calls to MSVCRT_vsnprintf

Eric Pouech
"The problem with designing something completely foolproof is to underestimate the ingenuity of a complete idiot." (Douglas Adams)

More information about the wine-devel mailing list