Re: msxml3: Fix varargs handling in libxml2 error callback implementation
16 Feb
2012
16 Feb
'12
10:45 a.m.
Nikolay Sivov <nsivov(a)codeweavers.com> writes:
The problem is that vsnprintf() was called multiple times with same va_list. Ti fix that it was necessary to get rid of some tracing bits like macro-defined callback calls and a single function for all kinds of error types.
Actually there's no need to call vsnprintf multiple times. The debug buffer has a limited size anyway, so we might as well use a limited stack buffer here. -- Alexandre Julliard julliard(a)winehq.org
5049
Age (days ago)
5049
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard