GNOME Bugzilla – Bug 676427
use mingw C99 compatible functions {v}snprintf instead those from MSVC runtime
Last modified: 2012-05-21 02:28:07 UTC
Created attachment 214496 [details] [review] remove use of _{v}snprintf for mingw* build Since version 3.15 mingw runtime (released in 2008) offer C99 compatible functions {v}snprintf - see release note http://sourceforge.net/project/shownotes.php?release_id=24832 . The proposed patch remove redefinition of {v}snprintf to _{v}snprintf for mingw* builds. Result is not visible in libxml regression tests but in libxslt . As example if environment variable PRINTF_EXPONENT_DIGITS is set to 2 libxslt tests pass - you could check quickly in tests/exslt/math.
Okay, looks fine, I commented upstream, applied and pushed: http://git.gnome.org/browse/libxml2/commit/?id=978ff224b2284f50bfb59c70b92a4b77bd4a7388 thanks ! Daniel