[kaffe] CVS kaffe (guilhem): Fixed a wrong name in jthread.c

Kaffe CVS Kaffe Mailing List <kaffe@kaffe.org>
Tue Apr 13 09:24:02 2004


PatchSet 4640 
Date: 2004/04/13 16:09:23
Author: guilhem
Branch: HEAD
Tag: (none) 
Log:
Fixed a wrong name in jthread.c

        * kaffe/kaffevm/systems/unix-jthreads/jthread.c
        (handleIO): Fixed a name: sleep should be canSleep.

Members: 
	ChangeLog:1.2216->1.2217 
	kaffe/kaffevm/systems/unix-jthreads/jthread.c:1.111->1.112 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2216 kaffe/ChangeLog:1.2217
--- kaffe/ChangeLog:1.2216	Tue Apr 13 15:43:23 2004
+++ kaffe/ChangeLog	Tue Apr 13 16:09:23 2004
@@ -1,5 +1,10 @@
 2004-04-13  Guilhem Lavaux <guilhem@kaffe.org>
 
+	* kaffe/kaffevm/systems/unix-jthreads/jthread.c
+	(handleIO): Fixed a name: sleep should be canSleep.
+
+2004-04-13  Guilhem Lavaux <guilhem@kaffe.org>
+
 	* libraries/clib/nio/FileChannelImpl.c
 	(implCloseChannel): Fixed a typo.
 
Index: kaffe/kaffe/kaffevm/systems/unix-jthreads/jthread.c
diff -u kaffe/kaffe/kaffevm/systems/unix-jthreads/jthread.c:1.111 kaffe/kaffe/kaffevm/systems/unix-jthreads/jthread.c:1.112
--- kaffe/kaffe/kaffevm/systems/unix-jthreads/jthread.c:1.111	Sat Apr  3 02:57:45 2004
+++ kaffe/kaffe/kaffevm/systems/unix-jthreads/jthread.c	Tue Apr 13 16:09:24 2004
@@ -2186,7 +2186,7 @@
 			processSignals();
 		}
 	}
-	if ((r < 0 && errno == EINTR) && !sleep) 
+	if ((r < 0 && errno == EINTR) && !canSleep) 
 		goto retry;
 
 	if (r <= 0)