From: David Eriksson Date: Thu, 9 Aug 2001 21:42:54 +0000 (+0000) Subject: Added patch for ORBit that handles "Multiple Components Profile" in an IOR. X-Git-Tag: BEFORE_EXP_MERGE~66 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e306d079ab99fe6e9397666b15a99415c1fd7c8c;p=php Added patch for ORBit that handles "Multiple Components Profile" in an IOR. --- diff --git a/ext/satellite/README b/ext/satellite/README index d40fff2424..733f46e7de 100644 --- a/ext/satellite/README +++ b/ext/satellite/README @@ -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 index 0000000000..5c50480127 --- /dev/null +++ b/ext/satellite/multiple_components.patch @@ -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); + }