http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59974
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- C99 says they return the number of characters that would have been written for the return value of snprintf. Now older versions of glibc (2.0.6) are broken the same way mingw is broken.