[kaffe] CVS kaffe (guilhem): Fixed compilation on FreeBSD 5.x
Kaffe CVS
cvs-commits at kaffe.org
Wed Dec 31 08:00:02 PST 2003
PatchSet 4253
Date: 2003/12/31 15:57:22
Author: guilhem
Branch: HEAD
Tag: (none)
Log:
Fixed compilation on FreeBSD 5.x
Members:
ChangeLog:1.1840->1.1841
libraries/clib/net/InetAddressImpl.c:1.20->1.21
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.1840 kaffe/ChangeLog:1.1841
--- kaffe/ChangeLog:1.1840 Wed Dec 31 09:52:10 2003
+++ kaffe/ChangeLog Wed Dec 31 15:57:22 2003
@@ -1,3 +1,9 @@
+2003-12-31 Mark Huizer <xaa+kaffe at timewasters.nl>
+
+ * libraries/clib/net/InetAddressImpl.c
+ (gnu_java_net_SysInetAddressImpl_getHostByName):
+ Fixed compilation on FreeBSD 5.x.
+
2003-12-31 Guilhem Lavaux <guilhem at kaffe.org>
* libraries/javalib/java/io/ObjectStreamClass.java
Index: kaffe/libraries/clib/net/InetAddressImpl.c
diff -u kaffe/libraries/clib/net/InetAddressImpl.c:1.20 kaffe/libraries/clib/net/InetAddressImpl.c:1.21
--- kaffe/libraries/clib/net/InetAddressImpl.c:1.20 Tue Oct 28 12:29:32 2003
+++ kaffe/libraries/clib/net/InetAddressImpl.c Wed Dec 31 15:57:24 2003
@@ -241,7 +241,9 @@
"Unable to contact name server");
break;
case EAI_NONAME:
+#if defined(EAI_NODATA) && EAI_NODATA != EAI_NONAME
case EAI_NODATA:
+#endif
postExceptionMessage(&einfo,
JAVA_NET(UnknownHostException),
"Unknown host: %s",
More information about the kaffe
mailing list