aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-01-18 18:13:36 +0000
committerUlrich Drepper <drepper@redhat.com>2002-01-18 18:13:36 +0000
commitd7a746fc62b802ba05d156447a212b44215c9930 (patch)
tree583959aa0909034f6df3717a7c1008a097a5215b
parentc3ea7bee6d38720bf7a4831171b655fa99d1b357 (diff)
downloadglibc-d7a746fc62b802ba05d156447a212b44215c9930.tar
glibc-d7a746fc62b802ba05d156447a212b44215c9930.tar.gz
glibc-d7a746fc62b802ba05d156447a212b44215c9930.tar.bz2
glibc-d7a746fc62b802ba05d156447a212b44215c9930.zip
Update.
2002-01-18 Ulrich Drepper <drepper@redhat.com> * iconvdata/tcvn5712-1.c: Minor cleanups.
-rw-r--r--ChangeLog4
-rw-r--r--iconvdata/tcvn5712-1.c8
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 9fa17bf8f9..a07abc9c18 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2002-01-18 Ulrich Drepper <drepper@redhat.com>
+
+ * iconvdata/tcvn5712-1.c: Minor cleanups.
+
2002-01-18 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/configure.in
diff --git a/iconvdata/tcvn5712-1.c b/iconvdata/tcvn5712-1.c
index d093396c6a..6bc31ee155 100644
--- a/iconvdata/tcvn5712-1.c
+++ b/iconvdata/tcvn5712-1.c
@@ -1,5 +1,5 @@
/* Conversion to and from TCVN5712-1.
- Copyright (C) 2001 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2001.
@@ -31,7 +31,9 @@
#define DEFINE_INIT 1
#define DEFINE_FINI 1
#define MIN_NEEDED_FROM 1
+#define MAX_NEEDED_FROM 2
#define MIN_NEEDED_TO 4
+#define MAX_NEEDED_TO 8
#define PREPARE_LOOP \
int saved_state; \
int *statep = &data->__statep->__count;
@@ -356,7 +358,7 @@ static const struct
/* First define the conversion function from TCVN5712-1 to UCS4. */
#define MIN_NEEDED_INPUT MIN_NEEDED_FROM
#define MIN_NEEDED_OUTPUT MIN_NEEDED_TO
-#define MAX_NEEDED_OUTPUT 8
+#define MAX_NEEDED_OUTPUT MAX_NEEDED_TO
#define LOOPFCT FROM_LOOP
#define BODY \
{ \
@@ -598,7 +600,7 @@ static const struct
/* Next, define the other direction. */
#define MIN_NEEDED_INPUT MIN_NEEDED_TO
#define MIN_NEEDED_OUTPUT MIN_NEEDED_FROM
-#define MAX_NEEDED_OUTPUT 2
+#define MAX_NEEDED_OUTPUT MAX_NEEDED_FROM
#define LOOPFCT TO_LOOP
#define BODY \
{ \