mirror of git://sourceware.org/git/glibc.git
Update.
* stdio-common/_itoa.c (_itoa): Fix special 32bit platform case with specific bases and only few bits set in second word.
This commit is contained in:
parent
bc9ffe71f9
commit
4f8dbcb126
|
@ -1,5 +1,8 @@
|
||||||
1999-05-05 Ulrich Drepper <drepper@cygnus.com>
|
1999-05-05 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
|
* stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
|
||||||
|
with specific bases and only few bits set in second word.
|
||||||
|
|
||||||
* timezone/Makefile (install-others): Create target directory
|
* timezone/Makefile (install-others): Create target directory
|
||||||
before creating tzfiles.
|
before creating tzfiles.
|
||||||
|
|
||||||
|
|
|
@ -226,7 +226,7 @@ value for the actions are normally what you want, and only need to be
|
||||||
changed in exceptional cases.
|
changed in exceptional cases.
|
||||||
|
|
||||||
If the optional @code{!} is placed before the @var{status} this means
|
If the optional @code{!} is placed before the @var{status} this means
|
||||||
the following action is used for all statii but @var{status} itself.
|
the following action is used for all statuses but @var{status} itself.
|
||||||
I.e., @code{!} is negation as in the C language (and others).
|
I.e., @code{!} is negation as in the C language (and others).
|
||||||
|
|
||||||
Before we explain the exception which makes this action item necessary
|
Before we explain the exception which makes this action item necessary
|
||||||
|
|
|
@ -201,8 +201,11 @@ _itoa (value, buflim, base, upper_case)
|
||||||
& ((1 << (BITS - BITS_PER_MP_LIMB%BITS)) \
|
& ((1 << (BITS - BITS_PER_MP_LIMB%BITS)) \
|
||||||
- 1)) \
|
- 1)) \
|
||||||
<< BITS_PER_MP_LIMB % BITS); \
|
<< BITS_PER_MP_LIMB % BITS); \
|
||||||
*--bp = digits[work_lo]; \
|
|
||||||
work_hi >>= BITS - BITS_PER_MP_LIMB % BITS; \
|
work_hi >>= BITS - BITS_PER_MP_LIMB % BITS; \
|
||||||
|
if (work_hi == 0) \
|
||||||
|
work_hi = work_lo; \
|
||||||
|
else \
|
||||||
|
*--bp = digits[work_lo]; \
|
||||||
} \
|
} \
|
||||||
} \
|
} \
|
||||||
else \
|
else \
|
||||||
|
|
Loading…
Reference in New Issue