1
0
mirror of https://github.com/php/php-src.git synced 2026-04-20 22:41:20 +02:00

Added patch for ORBit that handles "Multiple Components Profile" in an IOR.

This commit is contained in:
David Eriksson
2001-08-09 21:42:54 +00:00
parent ca33def60b
commit e306d079ab
2 changed files with 43 additions and 0 deletions

View 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:

View File

@@ -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);
}