[1/4] msxml3: libxml2 error/warning callback functions (try 2)

Alexandre Julliard julliard at winehq.org
Tue Oct 26 11:20:16 CDT 2010


Adam Martinson <amartinson at codeweavers.com> writes:

> +        len = vsnprintf(NULL, 0, msg, ap);
> +        buf = heap_alloc(len+1);
> +        vsnprintf(buf, len+1, msg, ap);

vsnprintf can also return -1, check how this is done in other places.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list