[kaffe] CVS kaffe (dalibor): Small fix for net library build

Kaffe CVS Kaffe Mailing List <kaffe@kaffe.org>
Mon Jan 19 04:50:02 2004


PatchSet 4352 
Date: 2004/01/19 12:24:26
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Small fix for net library build

2004-01-19  Alexander Boettcher <ab764283@os.inf.tu-dresden.de>

        * libraries/clib/net/PlainDatagramSocketImpl.c
        (gnu_java_net_PlainDatagramSocketImpl_socketSetOption)
        [!IP_MULTICAST_IF]: Moved a curly brace to matching part
        of the function to fix build on systems where
        IP_MULTICAST_IF is not defined.

Members: 
	ChangeLog:1.1938->1.1939 
	libraries/clib/net/PlainDatagramSocketImpl.c:1.38->1.39 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.1938 kaffe/ChangeLog:1.1939
--- kaffe/ChangeLog:1.1938	Mon Jan 19 11:31:45 2004
+++ kaffe/ChangeLog	Mon Jan 19 12:24:26 2004
@@ -1,3 +1,11 @@
+2004-01-19  Alexander Boettcher <ab764283@os.inf.tu-dresden.de>
+
+	* libraries/clib/net/PlainDatagramSocketImpl.c
+	(gnu_java_net_PlainDatagramSocketImpl_socketSetOption)
+	[!IP_MULTICAST_IF]: Moved a curly brace to matching part 
+	of the function to fix build on systems where 
+	IP_MULTICAST_IF is not defined.
+
 2004-01-19  Dalibor Topic <robilad@kaffe.org>
 
 	* include/Makefile.am
Index: kaffe/libraries/clib/net/PlainDatagramSocketImpl.c
diff -u kaffe/libraries/clib/net/PlainDatagramSocketImpl.c:1.38 kaffe/libraries/clib/net/PlainDatagramSocketImpl.c:1.39
--- kaffe/libraries/clib/net/PlainDatagramSocketImpl.c:1.38	Tue Jan  6 20:13:11 2004
+++ kaffe/libraries/clib/net/PlainDatagramSocketImpl.c	Mon Jan 19 12:24:27 2004
@@ -454,11 +454,11 @@
 				SignalError("java.net.SocketException",
 					    SYS_ERROR(r));
 			}
+		}
 #else
 			SignalError("java.net.SocketException",
 				    "IP_MULTICAST_IF is not supported");
 #endif
-		}
 		break;
 
 	case java_net_SocketOptions_SO_BINDADDR: