Author: mprobst
Date: 2007-07-19 15:36:02 -0400 (Thu, 19 Jul 2007)
New Revision: 82318

Modified:
   trunk/mono/mono/metadata/ChangeLog
   trunk/mono/mono/metadata/class.c
Log:
2007-07-19  Mark Probst  <[EMAIL PROTECTED]>

        * class.c (concat_two_strings_with_zero): Fixed a silly bug.


Modified: trunk/mono/mono/metadata/ChangeLog
===================================================================
--- trunk/mono/mono/metadata/ChangeLog  2007-07-19 19:31:45 UTC (rev 82317)
+++ trunk/mono/mono/metadata/ChangeLog  2007-07-19 19:36:02 UTC (rev 82318)
@@ -1,3 +1,7 @@
+2007-07-19  Mark Probst  <[EMAIL PROTECTED]>
+
+       * class.c (concat_two_strings_with_zero): Fixed a silly bug.
+
 2007-07-19  Rodrigo Kumpera  <[EMAIL PROTECTED]>
 
        * verify.c: several stack merge issues fixed, reference comparisons now

Modified: trunk/mono/mono/metadata/class.c
===================================================================
--- trunk/mono/mono/metadata/class.c    2007-07-19 19:31:45 UTC (rev 82317)
+++ trunk/mono/mono/metadata/class.c    2007-07-19 19:36:02 UTC (rev 82318)
@@ -2397,7 +2397,7 @@
        int result;
 
        result = g_snprintf (s, len, "%s%c%s", s1, '\0', s2);
-       g_assert (result == len);
+       g_assert (result == len - 1);
 
        return s;
 }

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

Reply via email to