Author: zoltan
Date: 2005-03-04 08:54:32 -0500 (Fri, 04 Mar 2005)
New Revision: 41437

Modified:
   trunk/mono/mono/dis/ChangeLog
   trunk/mono/mono/dis/get.c
Log:
2005-03-04  Zoltan Varga  <[EMAIL PROTECTED]>

        * get.c (dis_stringify_marshal_spec): Fix this after recent runtime
        changes.


Modified: trunk/mono/mono/dis/ChangeLog
===================================================================
--- trunk/mono/mono/dis/ChangeLog       2005-03-04 13:06:05 UTC (rev 41436)
+++ trunk/mono/mono/dis/ChangeLog       2005-03-04 13:54:32 UTC (rev 41437)
@@ -1,3 +1,8 @@
+2005-03-04  Zoltan Varga  <[EMAIL PROTECTED]>
+
+       * get.c (dis_stringify_marshal_spec): Fix this after recent runtime
+       changes.
+
 2005-03-01  Zoltan Varga  <[EMAIL PROTECTED]>
 
        * get.c: Output marshal info for parameters.

Modified: trunk/mono/mono/dis/get.c
===================================================================
--- trunk/mono/mono/dis/get.c   2005-03-04 13:06:05 UTC (rev 41436)
+++ trunk/mono/mono/dis/get.c   2005-03-04 13:54:32 UTC (rev 41437)
@@ -630,7 +630,7 @@
                elem_type = dis_stringify_native_type 
(spec->data.array_data.elem_type);
                if (num_elem == -1 && param_num == -1)
                        elems = g_strdup ("");
-               else if (param_num == -1)
+               else if ((param_num == -1) || (spec->data.array_data.elem_mult 
== 0))
                        elems = g_strdup_printf ("%d", num_elem);
                else if ((num_elem == -1) || (num_elem == 0))
                        elems = g_strdup_printf ("+ %d", param_num);

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to