[Bug libc/4858] printf alternate %#g format prints wrong number of digits

cvs-commit at gcc dot gnu dot org sourceware-bugzilla@sourceware.org
Tue Jul 31 12:43:00 GMT 2007


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2007-07-31 12:43 -------
Subject: Bug 4858

CVSROOT:	/cvs/glibc
Module name:	libc
Branch: 	glibc-2_6-branch
Changes by:	jakub@sourceware.org	2007-07-31 12:42:39

Modified files:
	.              : ChangeLog 
	stdio-common   : printf_fp.c tfformat.c 

Log message:
	2007-07-31  Jakub Jelinek  <jakub@redhat.com>
	
	* stdio-common/tfformat.c (sprint_doubles): Add 12 new tests.
	
	2007-07-28  Ulrich Drepper  <drepper@redhat.com>
	
	[BZ #4858]
	* stdio-common/printf_fp.c (___printf_fp): Fix special case of
	#.0g and value rounded to 1.0.
	* stdio-common/tfformat.c (sprint_doubles): Add two new tests.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/ChangeLog.diff?cvsroot=glibc&only_with_tag=glibc-2_6-branch&r1=1.10640.2.1&r2=1.10640.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/stdio-common/printf_fp.c.diff?cvsroot=glibc&only_with_tag=glibc-2_6-branch&r1=1.63&r2=1.63.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/stdio-common/tfformat.c.diff?cvsroot=glibc&only_with_tag=glibc-2_6-branch&r1=1.10&r2=1.10.2.1



-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4858

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the Glibc-bugs mailing list