[PATCH]: java/lang/natSystem.cc fix.

Alexandre Petit-Bianco apbianco@cygnus.com
Tue Sep 26 12:02:00 GMT 2000


This patch fixes a simple omission in java/lang/natSystem.cc:file_encoding()
I checked it in.

./A

2000-09-26  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * java/lang/natSystem.cc (file_encoding): Added return statement.

Index: java/lang/natSystem.cc
===================================================================
RCS file: /cvs/java/libgcj/libjava/java/lang/natSystem.cc,v
retrieving revision 1.27
diff -u -p -r1.27 natSystem.cc
--- natSystem.cc        2000/09/11 00:35:51     1.27
+++ natSystem.cc        2000/09/26 18:55:07
@@ -165,6 +165,7 @@ file_encoding ()
   char *e = nl_langinfo (CODESET);
   if (e == NULL || *e == '\0')
     e = "8859_1";
+  return e;
 }


More information about the Java-patches mailing list