]> granicus.if.org Git - php/commitdiff
Added patch for ORBit that handles "Multiple Components Profile" in an IOR.
authorDavid Eriksson <eriksson@php.net>
Thu, 9 Aug 2001 21:42:54 +0000 (21:42 +0000)
committerDavid Eriksson <eriksson@php.net>
Thu, 9 Aug 2001 21:42:54 +0000 (21:42 +0000)
ext/satellite/README
ext/satellite/multiple_components.patch [new file with mode: 0644]

index d40fff242430d7a7a85a8a5b100c3ee9b3a7379d..733f46e7de8ab57e6cfb53296d0a75aa99a3f745 100644 (file)
@@ -20,6 +20,15 @@ an entry to your php.ini like this:
 Note: If you compile Satellite as a dynamic PHP extension you must have the
       above line located before the extension=satellite.so line in php.ini!
 
+
+Known issues
+------------
+
+The ORBit version required by Satellite does not properly handle an IOR that contains
+a "Multiple Components Profile". If you run into these problems, please apply the patch
+named 'multiple_components.patch' to your ORBit directory before building.
+
+                       
 PHP as an Apache static module
 ------------------------------
 Before linking Apache you must do either of these things:
diff --git a/ext/satellite/multiple_components.patch b/ext/satellite/multiple_components.patch
new file mode 100644 (file)
index 0000000..5c50480
--- /dev/null
@@ -0,0 +1,34 @@
+diff -ur ../src/ORBit-20000902/src/orb/orbit_object.c ORBit-20000902/src/orb/orbit_object.c
+--- ../src/ORBit-20000902/src/orb/orbit_object.c       Thu Aug  3 01:30:45 2000
++++ ORBit-20000902/src/orb/orbit_object.c      Thu Aug  9 20:13:55 2001
+@@ -166,7 +166,7 @@
+       } else if(info->profile_type == IOP_TAG_ORBIT_SPECIFIC) {
+               g_free(info->tag.orbitinfo.unix_sock_path);
+       } else {
+-              g_warning("ORBit_free_profile asked to free type %d", info->profile_type);
++/*            g_warning("ORBit_free_profile asked to free type %d", info->profile_type);*/
+       }
+       g_free(info);   /* Check its safe to free the item within a foreach func */
+@@ -304,10 +304,10 @@
+       case IOP_TAG_MULTIPLE_COMPONENTS:
+       default:
+               GET_ATOM(subpart_len);
+-              g_warning("IOP_TAG_MULTIPLE_COMPONENTS decoding needs finishing");
++/*            g_warning("IOP_TAG_MULTIPLE_COMPONENTS decoding needs finishing");*/
+               object_info->profile_type = IOP_TAG_MULTIPLE_COMPONENTS;
+               recv_buffer->cur = ((guchar *)recv_buffer->cur) + subpart_len;
+-              return(object_info);
++              return NULL; /*(object_info);*/
+               break;
+       case IOP_TAG_ORBIT_SPECIFIC:
+@@ -381,7 +381,7 @@
+               GET_ATOM(profile_id);
+               object_info=ORBit_demarshal_profile(recv_buffer, profile_id);
+               if(object_info==NULL) {
+-                      goto error_exit;
++                      /*goto error_exit;*/
+               } else {
+                       profiles=g_slist_append(profiles, object_info);
+               }