[Mono-list] RE: [Mono-devel-list] REGRESSION: StringBuilder

Jaroslaw Kowalski jaak@zd.com.pl
Tue, 13 Jan 2004 13:55:37 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_0059_01C3D9DC.EC36E940
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I've just rebuilt mcs and mono and I still get the same error.

BTW. I'm using:

:pserver:anonymous@us-anoncvs.go-mono.com:/mono

Jarek
  ----- Original Message -----=20
  From: Torstensson, Patrik=20
  To: Torstensson, Patrik ; Jaroslaw Kowalski ; =
mono-list@lists.ximian.com ; Mono Development=20
  Sent: Tuesday, January 13, 2004 1:12 PM
  Subject: [Mono-list] RE: [Mono-devel-list] REGRESSION: StringBuilder


  Have you rebuilt everything? I just did the same ression test here and =
that returns correct value.

  Can anyone else test this also with the latest CVS?

  Cheers,
   Patrik



-------------------------------------------------------------------------=
-----
  From: mono-devel-list-admin@lists.ximian.com =
[mailto:mono-devel-list-admin@lists.ximian.com] On Behalf Of =
Torstensson, Patrik
  Sent: den 13 januari 2004 13:02
  To: Jaroslaw Kowalski; mono-list@lists.ximian.com; Mono Development
  Subject: RE: [Mono-devel-list] REGRESSION: StringBuilder


  Looking into it right now, it's strange because SB passed all the =
test.

  Be back in 2..

  Sorry for the problems caused!

  Cheers,
   Patrik



-------------------------------------------------------------------------=
-----
  From: mono-devel-list-admin@lists.ximian.com =
[mailto:mono-devel-list-admin@lists.ximian.com] On Behalf Of Jaroslaw =
Kowalski
  Sent: den 13 januari 2004 12:33
  To: mono-list@lists.ximian.com; Mono Development
  Subject: [Mono-devel-list] REGRESSION: StringBuilder
  Importance: Low


  Looks like there's been a regression introduced in mono yesterday.

  This snippet:

          StringBuilder sb =3D new StringBuilder();

          sb.Append("testtesttest");
          sb.Insert(0, '^');
          Console.WriteLine("sb: {0}", sb);

  produces:

          sb: ^teetteetteet

  It obviously should be:
     =20
          sb: ^testtesttest

  This is kind of critical since NAnt no longer runs on mono/Linux.

  Jarek
------=_NextPart_000_0059_01C3D9DC.EC36E940
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>I've just rebuilt mcs and mono and I still get the =
same=20
error.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>BTW. I'm using:</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT =
size=3D2>:pserver:anonymous@us-anoncvs.go-mono.com:/mono</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Jarek</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dpatrik.torstensson@intel.com=20
  href=3D"mailto:patrik.torstensson@intel.com">Torstensson, Patrik</A> =
</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dpatrik.torstensson@intel.com=20
  href=3D"mailto:patrik.torstensson@intel.com">Torstensson, Patrik</A> ; =
<A=20
  title=3Djaak@zd.com.pl href=3D"mailto:jaak@zd.com.pl">Jaroslaw =
Kowalski</A> ; <A=20
  title=3Dmono-list@lists.ximian.com=20
  =
href=3D"mailto:mono-list@lists.ximian.com">mono-list@lists.ximian.com</A>=
 ; <A=20
  title=3Dmono-devel-list@lists.ximian.com=20
  href=3D"mailto:mono-devel-list@lists.ximian.com">Mono Development</A> =
</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Tuesday, January 13, 2004 =
1:12=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [Mono-list] RE:=20
  [Mono-devel-list] REGRESSION: StringBuilder</DIV>
  <DIV><BR></DIV>
  <DIV dir=3Dltr align=3Dleft><SPAN class=3D108551012-13012004><FONT =
face=3DArial=20
  color=3D#0000ff size=3D2>Have you rebuilt everything? I just did the =
same ression=20
  test here and that returns correct value.</FONT></SPAN></DIV>
  <DIV dir=3Dltr align=3Dleft><SPAN class=3D108551012-13012004><FONT =
face=3DArial=20
  color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV dir=3Dltr align=3Dleft><SPAN class=3D108551012-13012004><FONT =
face=3DArial=20
  color=3D#0000ff size=3D2>Can anyone else test this also with the =
latest=20
  CVS?</FONT></SPAN></DIV>
  <DIV dir=3Dltr align=3Dleft><SPAN class=3D108551012-13012004><FONT =
face=3DArial=20
  color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV dir=3Dltr align=3Dleft><SPAN class=3D108551012-13012004><FONT =
face=3DArial=20
  color=3D#0000ff size=3D2>Cheers,</FONT></SPAN></DIV>
  <DIV dir=3Dltr align=3Dleft><SPAN class=3D108551012-13012004><FONT =
face=3DArial=20
  color=3D#0000ff size=3D2>&nbsp;Patrik</FONT></SPAN></DIV><FONT =
face=3DArial=20
  color=3D#0000ff size=3D2></FONT><BR>
  <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft>
  <HR tabIndex=3D-1>
  <FONT face=3DTahoma size=3D2><B>From:</B> <A=20
  =
href=3D"mailto:mono-devel-list-admin@lists.ximian.com">mono-devel-list-ad=
min@lists.ximian.com</A>=20
  [mailto:mono-devel-list-admin@lists.ximian.com] <B>On Behalf Of=20
  </B>Torstensson, Patrik<BR><B>Sent:</B> den 13 januari 2004=20
  13:02<BR><B>To:</B> Jaroslaw Kowalski; <A=20
  =
href=3D"mailto:mono-list@lists.ximian.com">mono-list@lists.ximian.com</A>=
; Mono=20
  Development<BR><B>Subject:</B> RE: [Mono-devel-list] REGRESSION:=20
  StringBuilder<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV dir=3Dltr align=3Dleft><SPAN class=3D346485711-13012004><FONT =
face=3DArial=20
  color=3D#0000ff size=3D2>Looking into it right now, it's strange =
because SB passed=20
  all the test.</FONT></SPAN></DIV>
  <DIV dir=3Dltr align=3Dleft><SPAN class=3D346485711-13012004><FONT =
face=3DArial=20
  color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV dir=3Dltr align=3Dleft><SPAN class=3D346485711-13012004><FONT =
face=3DArial=20
  color=3D#0000ff size=3D2>Be back in 2..</FONT></SPAN></DIV>
  <DIV dir=3Dltr align=3Dleft><SPAN class=3D346485711-13012004><FONT =
face=3DArial=20
  color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV dir=3Dltr align=3Dleft><SPAN class=3D346485711-13012004><FONT =
face=3DArial=20
  color=3D#0000ff size=3D2>Sorry for the problems =
caused!</FONT></SPAN></DIV>
  <DIV dir=3Dltr align=3Dleft><SPAN class=3D346485711-13012004><FONT =
face=3DArial=20
  color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV dir=3Dltr align=3Dleft><SPAN class=3D346485711-13012004><FONT =
face=3DArial=20
  color=3D#0000ff size=3D2>Cheers,</FONT></SPAN></DIV>
  <DIV dir=3Dltr align=3Dleft><SPAN class=3D346485711-13012004><FONT =
face=3DArial=20
  color=3D#0000ff size=3D2>&nbsp;Patrik</FONT></SPAN></DIV><BR>
  <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft>
  <HR tabIndex=3D-1>
  <FONT face=3DTahoma size=3D2><B>From:</B> =
mono-devel-list-admin@lists.ximian.com=20
  [mailto:mono-devel-list-admin@lists.ximian.com] <B>On Behalf Of =
</B>Jaroslaw=20
  Kowalski<BR><B>Sent:</B> den 13 januari 2004 12:33<BR><B>To:</B>=20
  mono-list@lists.ximian.com; Mono Development<BR><B>Subject:</B>=20
  [Mono-devel-list] REGRESSION: StringBuilder<BR><B>Importance:</B>=20
  Low<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV><FONT face=3DArial size=3D2>Looks like there's been a regression =
introduced=20
  in mono yesterday.</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>This snippet:</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  StringBuilder sb =3D new StringBuilder();</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  =
sb.Append("testtesttest");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =

  sb.Insert(0, '^');<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  Console.WriteLine("sb: {0}", sb);<BR></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>produces:</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sb:=20
  ^teetteetteet</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>It obviously should be:</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; </FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
sb:=20
  ^testtesttest</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>This is kind of critical since NAnt =
no longer=20
  runs on mono/Linux.</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial =
size=3D2>Jarek</DIV></BLOCKQUOTE></FONT></BODY></HTML>

------=_NextPart_000_0059_01C3D9DC.EC36E940--