about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-03-26 07:58:49 +0000
committerUlrich Drepper <drepper@redhat.com>2003-03-26 07:58:49 +0000
commit8e0665200993992aeaa918e608cc60655955548a (patch)
tree019bb4c412c681e18e3f6da88458d73b96f876ed
parent697119d670d6ec1283fff84eccf405a4851e83a6 (diff)
downloadglibc-8e0665200993992aeaa918e608cc60655955548a.tar.gz
glibc-8e0665200993992aeaa918e608cc60655955548a.tar.xz
glibc-8e0665200993992aeaa918e608cc60655955548a.zip
(from_euc_tw): Fix return value of TO_LOOP.
-rw-r--r--iconvdata/euc-tw.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/iconvdata/euc-tw.c b/iconvdata/euc-tw.c
index 6674dad397..7f10af8e93 100644
--- a/iconvdata/euc-tw.c
+++ b/iconvdata/euc-tw.c
@@ -1,5 +1,5 @@
 /* Mapping tables for EUC-TW handling.
-   Copyright (C) 1998, 1999, 2000-2002 Free Software Foundation, Inc.
+   Copyright (C) 1998, 1999, 2000-2002, 2003 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
 
@@ -143,7 +143,7 @@
 	if (__builtin_expect (found, 1) == 0)				      \
 	  {								      \
 	    /* We ran out of space.  */					      \
-	    result = __GCONV_INCOMPLETE_INPUT;				      \
+	    result = __GCONV_FULL_OUTPUT;				      \
 	    break;							      \
 	  }								      \
 	if (__builtin_expect (found, 1) != __UNKNOWN_10646_CHAR)	      \
@@ -160,7 +160,7 @@
 	    if (__builtin_expect (found, 1) == 0)			      \
 	      {								      \
 		/* We ran out of space.  */				      \
-		result = __GCONV_INCOMPLETE_INPUT;			      \
+		result = __GCONV_FULL_OUTPUT;				      \
 		break;							      \
 	      }								      \
 	    if (__builtin_expect (found, 0) == __UNKNOWN_10646_CHAR)	      \