Hi Elliot, Dick etc.. This patch fixes various typecode marshalling bugs, and adds a test for typecodes to the 'everything' test harness. Contents: - Fixes to orbit_typecode.c encoding and decoding functions tc_dec: - added negative ref count to marshalled typecodes, to stop them being freed by CORBA_Object_release() tc_dec_tk_alias: - Set the typecode sub_parts member on demarshalling t->sub_parts=1; tc_enc_tk_except: tc_dec_tk_except: - fixed exception marshalling tc_dec_tk_sequence - Set the typecode sub_parts member on demarshalling t->sub_parts=1; - Fixed freeing of TypeCodes in skeleton marshalling code (I know, the typecodes don't actually get freed because they are pooled, and have a negative ref count, but the original freeing code was calling CORBA_free(typecode), which causes a segfault.) - Added unit tests for TypeCodes to the 'everything' test harness Does anybody object to me committing this to ORBit-0.5-stable? (make distcheck runs ok) Cheers, Phil
Attachment:
ORBit-typecode-fixes.patch
Description: typecode marshalling tests and fixes