diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-08-03 15:26:02 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-08-03 15:26:02 +0000 |
commit | 6c215a8d6c972ca3324107109c393f21e782fb10 (patch) | |
tree | b364b344931ab3bbb16f020b59c5ee7f35188484 /stdio-common/printf_fphex.c | |
parent | 9c06eb66b5b4662c22532ab03525eab46c4cf2eb (diff) | |
download | glibc-6c215a8d6c972ca3324107109c393f21e782fb10.zip glibc-6c215a8d6c972ca3324107109c393f21e782fb10.tar.gz glibc-6c215a8d6c972ca3324107109c393f21e782fb10.tar.bz2 |
* grp/initgroups.c (internal_getgrouplist): Remove unnecessary
test introduced in patch for bz #661.
(getgrouplist): Simplify code a bit.
Diffstat (limited to 'stdio-common/printf_fphex.c')
-rw-r--r-- | stdio-common/printf_fphex.c | 5 |
1 files changed, 4 insertions, 1 deletions
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; |