[kaffe] CVS kaffe (guilhem): KJC -O10 compile fixes + Locale fixes.

Kaffe CVS Kaffe Mailing List <kaffe@kaffe.org>
Sun May 23 12:21:03 2004


PatchSet 4773 
Date: 2004/05/23 18:53:07
Author: guilhem
Branch: HEAD
Tag: (none) 
Log:
KJC -O10 compile fixes + Locale fixes.

        * libraries/javalib/bootstrap.classlist: Added several missing classes
        for SSA optimizer and exception reporting.

        * libraries/javalib/Klasses.jar.bootstrap: Regenerated.

        * libraries/javalib/kjc.jar: Regenerated.

        * libraries/clib/native/System.c
        (java_lang_System_initProperties): Use LC_MESSAGES instead of LC_ALL
        because on newer GLIBC it returns a set of variables.

        * kaffe/man/kaffe.1.in: Specify that the default locale is given
        by LC_MESSAGES.

Members: 
	ChangeLog:1.2344->1.2345 
	kaffe/man/kaffe.1.in:1.6->1.7 
	libraries/clib/native/System.c:1.46->1.47 
	libraries/javalib/Klasses.jar.bootstrap:1.58->1.59 
	libraries/javalib/bootstrap.classlist:1.49->1.50 
	libraries/javalib/kjc.jar:1.33->1.34 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2344 kaffe/ChangeLog:1.2345
--- kaffe/ChangeLog:1.2344	Sun May 23 15:16:07 2004
+++ kaffe/ChangeLog	Sun May 23 18:53:07 2004
@@ -1,3 +1,19 @@
+2004-05-23  Guilhem Lavaux <guilhem@kaffe.org>
+
+	* libraries/javalib/bootstrap.classlist: Added several missing classes
+	for SSA optimizer and exception reporting.
+
+	* libraries/javalib/Klasses.jar.bootstrap: Regenerated.
+
+	* libraries/javalib/kjc.jar: Regenerated.
+
+	* libraries/clib/native/System.c
+	(java_lang_System_initProperties): Use LC_MESSAGES instead of LC_ALL
+	because on newer GLIBC it returns a set of variables.
+
+	* kaffe/man/kaffe.1.in: Specify that the default locale is given
+	by LC_MESSAGES.
+
 2004-05-23  Kero van Gelder <kero@d4050.upc-d.chello.nl>
 
         * libraries/javalib/java/awt/AWTEvent.java:
Index: kaffe/kaffe/man/kaffe.1.in
diff -u kaffe/kaffe/man/kaffe.1.in:1.6 kaffe/kaffe/man/kaffe.1.in:1.7
--- kaffe/kaffe/man/kaffe.1.in:1.6	Wed Jun 25 23:22:54 2003
+++ kaffe/kaffe/man/kaffe.1.in	Sun May 23 18:53:11 2004
@@ -109,6 +109,8 @@
 for details. This needs to be set if Kaffe's shared libraries are
 installed in a location not part of the dynamic loader's default search
 path.
+.B LC_MESSAGES
+It changes the default locale name for Java application.
 .SH FILES
 .TP
 .B "@prefix@/share/kaffe/kafferc"
Index: kaffe/libraries/clib/native/System.c
diff -u kaffe/libraries/clib/native/System.c:1.46 kaffe/libraries/clib/native/System.c:1.47
--- kaffe/libraries/clib/native/System.c:1.46	Fri May 21 15:19:24 2004
+++ kaffe/libraries/clib/native/System.c	Sun May 23 18:53:11 2004
@@ -334,7 +334,7 @@
 	char *locale;
 	char lang[3];
 
-	locale = setlocale (LC_ALL, "");
+	locale = setlocale (LC_MESSAGES, "");
 
 	tmp = strchr (locale, '_');
 
Index: kaffe/libraries/javalib/Klasses.jar.bootstrap
cvs rdiff: failed to read diff file header /tmp/cvsaOTEqK for Klasses.jar.bootstrap,v: end of file
system command returned non-zero exit status: 1: aborting