This is the mail archive of the java-patches@sources.redhat.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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;
 }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]