[Mono-bugs] [Bug 72244][Nor] Changed - new StringBuilder(4, 7).Append ("foo").Append ("bar");

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 7 Feb 2005 13:18:19 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by miguel@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=72244

--- shadow/72244	2005-02-05 15:10:06.000000000 -0500
+++ shadow/72244.tmp.18941	2005-02-07 13:18:19.000000000 -0500
@@ -75,6 +75,9 @@
 	}
 }
 
 The issue is that we try to resize to capacity 8 on the second append
 (4*2 == 8). This is above the max capcity. However, we can stil resize
 to 6 or 7, and not be above, and still fit the string.
+
+------- Additional Comments From miguel@ximian.com  2005-02-07 13:18 -------
+Ben, is this a regression with your new StringBuilder code?