Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
	* stdio-common/itoa-digits.c: Move upper digits to...
	* stdio-common/itoa-udigits.c: ...here.  New file.
	* stdio-common/Makefile (routines): Add itoa-udigits.
  • Loading branch information
Ulrich Drepper committed Aug 31, 2000
1 parent a778db0 commit cb7c4a2
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 5 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
2000-08-31 Ulrich Drepper <drepper@redhat.com>

* stdio-common/itoa-digits.c: Move upper digits to...
* stdio-common/itoa-udigits.c: ...here. New file.
* stdio-common/Makefile (routines): Add itoa-udigits.

* sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
relocate ld.so don't add supprt for relocations which should not
appear in ld.so.
Expand Down
2 changes: 1 addition & 1 deletion stdio-common/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ headers := printf.h

routines := \
ctermid cuserid \
_itoa _itowa itoa-digits itowa-digits \
_itoa _itowa itoa-digits itoa-udigits itowa-digits \
vfprintf vprintf printf_fp reg-printf printf-prs printf_fphex \
printf_size fprintf printf snprintf sprintf asprintf dprintf \
vfscanf \
Expand Down
5 changes: 1 addition & 4 deletions stdio-common/itoa-digits.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Digits.
Copyright (C) 1994, 1995, 1996, 1999 Free Software Foundation, Inc.
Copyright (C) 1994, 1995, 1996, 1999, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
Expand All @@ -20,6 +20,3 @@
/* Lower-case digits. */
const char _itoa_lower_digits[36]
= "0123456789abcdefghijklmnopqrstuvwxyz";
/* Upper-case digits. */
const char _itoa_upper_digits[36]
= "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
22 changes: 22 additions & 0 deletions stdio-common/itoa-udigits.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/* Digits.
Copyright (C) 1994, 1995, 1996, 1999, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.
The GNU C Library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with the GNU C Library; see the file COPYING.LIB. If not,
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */

/* Upper-case digits. */
const char _itoa_upper_digits[36]
= "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";

0 comments on commit cb7c4a2

Please sign in to comment.