aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-08-31 08:50:08 +0000
committerUlrich Drepper <drepper@redhat.com>2000-08-31 08:50:08 +0000
commitcb7c4a271150ed746021644c8f8c83a32b20534d (patch)
tree875d74396fdd65f5a71e91dcc36f1a368b42259f
parenta778db0624f4359cd0e1aea9384235d4a376b1a8 (diff)
downloadglibc-cb7c4a271150ed746021644c8f8c83a32b20534d.zip
glibc-cb7c4a271150ed746021644c8f8c83a32b20534d.tar.gz
glibc-cb7c4a271150ed746021644c8f8c83a32b20534d.tar.bz2
Update.
* stdio-common/itoa-digits.c: Move upper digits to... * stdio-common/itoa-udigits.c: ...here. New file. * stdio-common/Makefile (routines): Add itoa-udigits.
-rw-r--r--ChangeLog4
-rw-r--r--stdio-common/Makefile2
-rw-r--r--stdio-common/itoa-digits.c5
-rw-r--r--stdio-common/itoa-udigits.c22
4 files changed, 28 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 8d25c92..6b97055 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/stdio-common/Makefile b/stdio-common/Makefile
index 994ca5c..33907eb 100644
--- a/stdio-common/Makefile
+++ b/stdio-common/Makefile
@@ -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 \
diff --git a/stdio-common/itoa-digits.c b/stdio-common/itoa-digits.c
index 34699db..013777c 100644
--- a/stdio-common/itoa-digits.c
+++ b/stdio-common/itoa-digits.c
@@ -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
@@ -20,6 +20,3 @@
/* Lower-case digits. */
const char _itoa_lower_digits[36]
= "0123456789abcdefghijklmnopqrstuvwxyz";
-/* Upper-case digits. */
-const char _itoa_upper_digits[36]
- = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
diff --git a/stdio-common/itoa-udigits.c b/stdio-common/itoa-udigits.c
new file mode 100644
index 0000000..9c25b0b
--- /dev/null
+++ b/stdio-common/itoa-udigits.c
@@ -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";