Handle empty digit string for precision correctly. (#142400)
authorTor Lillqvist <tml@iki.fi>
Fri, 14 May 2004 04:58:19 +0000 (04:58 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Fri, 14 May 2004 04:58:19 +0000 (04:58 +0000)
commit267009b913f89507814ebfdcac8e274bc77105ac
tree1fd0899cb85ea762a94b0ddda264f793d17e1da7
parent52e231144f5522b188f50a6a7b90bd8dd18c2ae6
Handle empty digit string for precision correctly. (#142400)

2004-05-14  Tor Lillqvist  <tml@iki.fi>

* glib/gnulib/vasnprintf.c (vasnprintf): Handle empty digit string
for precision correctly. (#142400)

For backward compatibility with the Trio implementation, make "ll"
format modifer work on Win32, too. Change into "I64" before
passing to the system printf. (#142433)

* tests/printf-test.c (main): Add tests for the above.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/gnulib/vasnprintf.c
tests/printf-test.c