[kaffe] CVS kaffe (guilhem): Use HAVE_BROKEN_SO_RCVTIMEO in pthreads/syscalls.c

Kaffe CVS cvs-commits at kaffe.org
Thu Aug 19 02:54:46 PDT 2004


PatchSet 5082 
Date: 2004/08/19 09:50:57
Author: guilhem
Branch: HEAD
Tag: (none) 
Log:
Use HAVE_BROKEN_SO_RCVTIMEO in pthreads/syscalls.c

Members: 
	ChangeLog:1.2640->1.2641 
	kaffe/kaffevm/systems/unix-pthreads/syscalls.c:1.18->1.19 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2640 kaffe/ChangeLog:1.2641
--- kaffe/ChangeLog:1.2640	Thu Aug 19 00:14:13 2004
+++ kaffe/ChangeLog	Thu Aug 19 09:50:57 2004
@@ -1,3 +1,8 @@
+2004-08-19  Guilhem Lavaux <guilhem at kaffe.org>
+
+	* kaffe/kaffevm/systems/unix-pthreads/syscalls.c
+	(jthreadedAccept): Use HAVE_BROKEN_SO_RCVTIMEO.
+
 2004-08-18  Dalibor Topic  <robilad at kaffe.org>
 
 	* libraries/javalib/javax/swing/JTextArea.java,
Index: kaffe/kaffe/kaffevm/systems/unix-pthreads/syscalls.c
diff -u kaffe/kaffe/kaffevm/systems/unix-pthreads/syscalls.c:1.18 kaffe/kaffe/kaffevm/systems/unix-pthreads/syscalls.c:1.19
--- kaffe/kaffe/kaffevm/systems/unix-pthreads/syscalls.c:1.18	Thu Jul 29 14:24:53 2004
+++ kaffe/kaffe/kaffevm/systems/unix-pthreads/syscalls.c	Thu Aug 19 09:51:00 2004
@@ -469,7 +469,7 @@
 		int timeout, int* out)
 {
 	/* absolute time at which time out is reached */
-#if defined(SO_RCVTIMEO) && !defined(__FreeBSD__)
+#if defined(SO_RCVTIMEO) && !defined(HAVE_BROKEN_SO_RCVTIMEO)
 	int ret;
 	struct timeval old_tv;
 	struct timeval new_tv;




More information about the kaffe mailing list