mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
* stdlib/divmod_1.c: Use correct type for dummy variable.
* stdlib/mod_1.c: Likewise.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2008-10-17 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* stdlib/divmod_1.c: Use correct type for dummy variable.
|
||||||
|
* stdlib/mod_1.c: Likewise.
|
||||||
|
|
||||||
2008-10-16 Ulrich Drepper <drepper@redhat.com>
|
2008-10-16 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* elf/dl-tls.c (_dl_update_slotinfo): Copy all of the initial DTV.
|
* elf/dl-tls.c (_dl_update_slotinfo): Copy all of the initial DTV.
|
||||||
|
@ -634,7 +634,7 @@ _dl_update_slotinfo (unsigned long int req_modid)
|
|||||||
newp = malloc ((2 + newsize) * sizeof (dtv_t));
|
newp = malloc ((2 + newsize) * sizeof (dtv_t));
|
||||||
if (newp == NULL)
|
if (newp == NULL)
|
||||||
oom ();
|
oom ();
|
||||||
memcpy (newp, &dtv[-1], (2 * oldsize) * sizeof (dtv_t));
|
memcpy (newp, &dtv[-1], (2 + oldsize) * sizeof (dtv_t));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -55,7 +55,7 @@ mpn_divmod_1 (quot_ptr, dividend_ptr, dividend_size, divisor_limb)
|
|||||||
{
|
{
|
||||||
mp_size_t i;
|
mp_size_t i;
|
||||||
mp_limb_t n1, n0, r;
|
mp_limb_t n1, n0, r;
|
||||||
int dummy;
|
mp_limb_t dummy;
|
||||||
|
|
||||||
/* ??? Should this be handled at all? Rely on callers? */
|
/* ??? Should this be handled at all? Rely on callers? */
|
||||||
if (dividend_size == 0)
|
if (dividend_size == 0)
|
||||||
|
@ -50,7 +50,7 @@ mpn_mod_1 (dividend_ptr, dividend_size, divisor_limb)
|
|||||||
{
|
{
|
||||||
mp_size_t i;
|
mp_size_t i;
|
||||||
mp_limb_t n1, n0, r;
|
mp_limb_t n1, n0, r;
|
||||||
int dummy;
|
mp_limb_t dummy;
|
||||||
|
|
||||||
/* Botch: Should this be handled at all? Rely on callers? */
|
/* Botch: Should this be handled at all? Rely on callers? */
|
||||||
if (dividend_size == 0)
|
if (dividend_size == 0)
|
||||||
|
Reference in New Issue
Block a user