[kaffe] CVS kaffe (kaz): libraries/clib/nio/gnu_java_nio_charset_iconv_IconvDecoder.c

Kaffe CVS cvs-commits at kaffe.org
Fri Oct 21 09:09:52 PDT 2005


PatchSet 6954 
Date: 2005/10/21 16:03:18
Author: kaz
Branch: HEAD
Tag: (none) 
Log:
2005-10-22  Ito Kazumitsu  <kaz at maczuka.gcd.org>

        * libraries/clib/nio/gnu_java_nio_charset_iconv_IconvDecoder.c
        (Java_gnu_java_nio_charset_iconv_IconvDecoder_decode):
        Do not check errno == EINVAL because it is a normal case
        (Proposed patch for GCC Bugzilla Bug 24467).

Members: 
	ChangeLog:1.4477->1.4478 
	libraries/clib/nio/gnu_java_nio_charset_iconv_IconvDecoder.c:1.6->1.7 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4477 kaffe/ChangeLog:1.4478
--- kaffe/ChangeLog:1.4477	Thu Oct 20 16:55:05 2005
+++ kaffe/ChangeLog	Fri Oct 21 16:03:18 2005
@@ -1,3 +1,10 @@
+2005-10-22  Ito Kazumitsu  <kaz at maczuka.gcd.org>
+
+	* libraries/clib/nio/gnu_java_nio_charset_iconv_IconvDecoder.c
+	(Java_gnu_java_nio_charset_iconv_IconvDecoder_decode):
+	Do not check errno == EINVAL because it is a normal case
+	(Proposed patch for GCC Bugzilla Bug 24467).
+
 2005-10-20  Guilhem Lavaux  <guilhem at kaffe.org>
 
 	* test/jni/Makefile.am: Fixed rt.jar path (glibj.zip now).
Index: kaffe/libraries/clib/nio/gnu_java_nio_charset_iconv_IconvDecoder.c
diff -u kaffe/libraries/clib/nio/gnu_java_nio_charset_iconv_IconvDecoder.c:1.6 kaffe/libraries/clib/nio/gnu_java_nio_charset_iconv_IconvDecoder.c:1.7
--- kaffe/libraries/clib/nio/gnu_java_nio_charset_iconv_IconvDecoder.c:1.6	Mon Aug  8 02:52:15 2005
+++ kaffe/libraries/clib/nio/gnu_java_nio_charset_iconv_IconvDecoder.c	Fri Oct 21 16:03:22 2005
@@ -140,7 +140,7 @@
 
   if (retval == (size_t) (-1))
     {
-      if (errno == EILSEQ || errno == EINVAL)
+      if (errno == EILSEQ)
 	retval = 1;
       else
 	retval = 0;




More information about the kaffe mailing list