orbit bug + patch



This patch makes DynamicAny_DynSequence_get_elements() working ;-)
May I commit?

- Dietmar

Index: src/orb/dynany.c
===================================================================
RCS file: /cvs/gnome/ORBit/src/orb/dynany.c,v
retrieving revision 1.9.4.16
diff -u -r1.9.4.16 dynany.c
--- src/orb/dynany.c 2000/12/12 12:10:32 1.9.4.16
+++ src/orb/dynany.c 2001/02/16 14:52:30
@@ -1613,11 +1613,14 @@
  retval = CORBA_sequence_DynamicAny_DynAny_AnySeq__alloc ();
  retval->_buffer = CORBA_sequence_DynamicAny_DynAny_AnySeq_allocbuf (
   s->_length);
+ retval->_length = s->_length;
  subtc = dynany->any->_type->subtypes [0];

  for (i = 0; i < s->_length; i++) {
   CORBA_any *any = CORBA_any__alloc ();
   gpointer   to;
+
+  retval->_buffer [i] = any;

   any->_type = (CORBA_TypeCode) CORBA_Object_duplicate (
    (CORBA_Object) subtc, ev);






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