From 6c215a8d6c972ca3324107109c393f21e782fb10 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 3 Aug 2006 15:26:02 +0000 Subject: * grp/initgroups.c (internal_getgrouplist): Remove unnecessary test introduced in patch for bz #661. (getgrouplist): Simplify code a bit. --- stdio-common/printf_fphex.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'stdio-common') diff --git a/stdio-common/printf_fphex.c b/stdio-common/printf_fphex.c index 6711ccc..4e30d94 100644 --- a/stdio-common/printf_fphex.c +++ b/stdio-common/printf_fphex.c @@ -404,7 +404,10 @@ __printf_fphex (FILE *fp, { exponent -= 4; if (exponent <= 0) - expnegative = 0; + { + exponent = -exponent; + expnegative = 0; + } } else exponent += 4; -- cgit v1.1