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.
This commit is contained in:
Tor Lillqvist
2004-05-14 04:58:19 +00:00
committed by Tor Lillqvist
parent 52e231144f
commit 267009b913
7 changed files with 84 additions and 7 deletions

View File

@@ -1,3 +1,14 @@
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.
2004-05-10 Matthias Clasen <mclasen@redhat.com>
Merge from 2.4: