[kaffe] CVS kaffe (guilhem): Picofix for non-reentrant systems.

Kaffe CVS cvs-commits at kaffe.org
Sun Apr 3 08:32:54 PDT 2005


PatchSet 5652 
Date: 2005/04/03 15:27:45
Author: guilhem
Branch: HEAD
Tag: (none) 
Log:
Picofix for non-reentrant systems.

Members: 
	ChangeLog:1.3822->1.3823 
	libraries/clib/nio/gnu_java_nio_VMSelector.c:1.7->1.8 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3822 kaffe/ChangeLog:1.3823
--- kaffe/ChangeLog:1.3822	Sun Apr  3 14:55:04 2005
+++ kaffe/ChangeLog	Sun Apr  3 15:27:45 2005
@@ -1,5 +1,10 @@
 2005-04-03  Guilhem Lavaux  <guilhem at kaffe.org>
 
+	* libraries/clib/nio/gnu_java_nio_VMSelector.c
+	(select0): Fixed typo.
+
+2005-04-03  Guilhem Lavaux  <guilhem at kaffe.org>
+
 	* kaffe/kaffevm/systems/unix-jthreads/jthread.c
 	(jthreadedSelect): Prepare dummy sets in case one of the parameter
 	is NULL.
Index: kaffe/libraries/clib/nio/gnu_java_nio_VMSelector.c
diff -u kaffe/libraries/clib/nio/gnu_java_nio_VMSelector.c:1.7 kaffe/libraries/clib/nio/gnu_java_nio_VMSelector.c:1.8
--- kaffe/libraries/clib/nio/gnu_java_nio_VMSelector.c:1.7	Sun Apr  3 14:55:08 2005
+++ kaffe/libraries/clib/nio/gnu_java_nio_VMSelector.c	Sun Apr  3 15:27:47 2005
@@ -269,9 +269,9 @@
 	
 	if (result < 0)
     {
+	int errcode = -result;
 #if defined(HAVE_STRERROR_R)
 	char message_buf[BUF_SIZE+1];
-	int errcode = -result;
 
     	if( strerror_r(errcode, message_buf, BUF_SIZE) )
     	{



More information about the kaffe mailing list