From 8e0665200993992aeaa918e608cc60655955548a Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 26 Mar 2003 07:58:49 +0000 Subject: [PATCH] (from_euc_tw): Fix return value of TO_LOOP. --- iconvdata/euc-tw.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iconvdata/euc-tw.c b/iconvdata/euc-tw.c index 6674dad..7f10af8 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 , 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) \ -- 2.7.4