mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Update.
2002-03-13 Wolfram Gloger <wg@malloc.de> * malloc/malloc.c (sYSMALLOc): Don't change brk if mmap failed. 2002-03-02 Andreas Schwab <schwab@suse.de> * stdio-common/vfprintf.c (process_arg): Fix decimal format with 'h' flag and positional arg. * stdio-common/tst-printf.c (rfg3): New function to test positional arguments. (main): Fix some warnings. 2002-03-13 Jakub Jelinek <jakub@redhat.com> * elf/dl-minimal.c (_itoa): Use _itoa_lower_digits_internal if SHARED. * elf/dl-reloc.c (_dl_reloc_bad_type): Likewise.
This commit is contained in:
@ -290,12 +290,12 @@ _itoa (value, buflim, base, upper_case)
|
||||
unsigned int base;
|
||||
int upper_case;
|
||||
{
|
||||
extern const char _itoa_lower_digits[] attribute_hidden;
|
||||
extern const char INTUSE(_itoa_lower_digits)[] attribute_hidden;
|
||||
|
||||
assert (! upper_case);
|
||||
|
||||
do
|
||||
*--buflim = _itoa_lower_digits[value % base];
|
||||
*--buflim = INTUSE(_itoa_lower_digits)[value % base];
|
||||
while ((value /= base) != 0);
|
||||
|
||||
return buflim;
|
||||
@ -348,4 +348,5 @@ strong_alias (__strsep, __strsep_g)
|
||||
|
||||
/* The '_itoa_lower_digits' variable in libc.so is able to handle bases
|
||||
up to 36. We don't need this here. */
|
||||
const char _itoa_lower_digits[16] = "0123456789abcdef";
|
||||
const char INTUSE(_itoa_lower_digits)[16] attribute_hidden
|
||||
= "0123456789abcdef";
|
||||
|
Reference in New Issue
Block a user