From 8a4b65b46966f99180de59141cbfa14de2d80380 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 10 Dec 1996 03:08:06 +0000 Subject: update from main archive 961209 Tue Dec 10 02:17:31 1996 Ulrich Drepper * stdio-common/printf_fp.c (__guess_grouping): Fix of by one error in computation of number of groups. Patch sent by Harald Schreiber . Tue Dec 10 01:50:07 1996 Ulrich Drepper * version.h: Set version to 1.99. * Make-dist (routines): Add malloc and new-malloc. * Makeconfig: Allow Makefiles to set $(CPPFLAGS-$( * Make-dist: Make sure both malloc directories get distributed. Sun Dec 8 23:14:10 1996 Andreas Schwab * libio/iogets.c (_IO_gets): Fix early returns to not leave the stream locked. Sat Dec 7 22:08:09 1996 Andreas Schwab * sysdeps/unix/sysv/linux/sys/module.h: Enclose declarations in __BEGIN_DECLS/__END_DECLS. Sat Dec 7 14:23:12 1996 Andreas Schwab * login/utmp_file.c: Consistently set file_offset to the position after the entry just read. --- stdio-common/printf_fp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stdio-common/printf_fp.c') diff --git a/stdio-common/printf_fp.c b/stdio-common/printf_fp.c index c63c1e1afc..e532400f09 100644 --- a/stdio-common/printf_fp.c +++ b/stdio-common/printf_fp.c @@ -988,7 +988,7 @@ __guess_grouping (unsigned int intdig_max, const char *grouping, else if (*grouping == 0) { /* Same grouping repeats. */ - groups += intdig_max / grouping[-1]; + groups += (intdig_max - 1) / grouping[-1]; break; } } -- cgit v1.2.3