Re: FOR_PANEL moved, ORBit notes



Elliot Lee writes:
 > I just moved the FOR_PANEL tag because the latest ORBit seems to work with
 > the panel again. I would really appreciate it if people would try out this
 > newer version and give it a real beating; I would like to release a new
 > ORBit version RSN.

OK, then. :) I had to #ifdef out the IPV6 stuff to compile on my
non-IPV6 machine. There may well be a better way, but this seems to
have done the trick. :)


Torben

Index: connection.c
===================================================================
RCS file: /debian/home/gnomecvs/ORBit/src/IIOP/connection.c,v
retrieving revision 1.57
diff -u -r1.57 connection.c
--- connection.c        1998/09/07 18:21:06     1.57
+++ connection.c        1998/09/08 03:16:08
@@ -934,7 +934,9 @@

        switch(IIOP_CONNECTION(connection)->icnxtype) {
        case IIOP_IPV4: sock.sa_family = AF_INET; break;
+#ifdef HAVE_IPV6
        case IIOP_IPV6: sock.sa_family = AF_INET6; break;
+#endif
        case IIOP_USOCK: sock.sa_family = AF_UNIX; break;
        }

@@ -969,7 +971,9 @@

     switch(IIOP_CONNECTION(connection)->icnxtype) {
     case IIOP_IPV4: sock.sa_family = AF_INET; break;
+#ifdef HAVE_IPV6
     case IIOP_IPV6: sock.sa_family = AF_INET6; break;
+#endif
     case IIOP_USOCK: sock.sa_family = AF_UNIX; break;
     }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]