crt/stdio/mingw_pformat.c: Make the %e specifier compliant to C99.

Remove the hacks to mimic old MS behavior and hardcode the minimum
number of digits of the exponent to 2, as required by C99 and POSIX.

If the __USE_MINGW_ANSI_STDIO macro is not defined, the user will
be calling stdio functions from MSVCRT which this change will not
interfere with.

Signed-off-by: Liu Hao <lh_mouse@126.com>
(cherry picked from commit bcf1f29d6dc80b6025b416bef104d2314fa9be57)
Signed-off-by: Jonathan Yong <10walls@gmail.com>
1 file changed