630140 better fix for iso995x encoding error

Changing semantic of xmlCharEncInFunc() wasn't the proper way to
do this, better change UTF8ToISO8859x() appropriately
diff --git a/encoding.c b/encoding.c
index 698b8d7..a68cf21 100644
--- a/encoding.c
+++ b/encoding.c
@@ -2039,11 +2039,7 @@
 	    xmlBufferShrink(in, toconv);
 	    out->use += written;
 	    writtentot += written;
-            /* multichar cut at end of buffer can generate that problem */
-            if (ret == -2) {
-                ret = -3;
-            }
-	}
+	} 
 	out->content[out->use] = 0;
     }
 #ifdef LIBXML_ICONV_ENABLED
@@ -2319,7 +2315,7 @@
                 /* trailing byte not in input buffer */
                 *outlen = out - outstart;
                 *inlen = processed - instart;
-                return(-2);
+                return(-3);
             }
             c = *in++;
             if ((c & 0xC0) != 0x80) {
@@ -2345,7 +2341,7 @@
                 /* trailing bytes not in input buffer */
                 *outlen = out - outstart;
                 *inlen = processed - instart;
-                return(-2);
+                return(-3);
             }
             c1 = *in++;
             if ((c1 & 0xC0) != 0x80) {