Le 03/11/2010 10:53, Alexandre Julliard a écrit :
Eric Pouech<eric.pou...@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
A+

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





Reply via email to