[Mono-bugs] [Bug 61906][Wis] Changed - MarshAs(UnmanagedType.LPStr) truncates output by 1 leading sign character

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 29 Aug 2004 11:50:35 -0400 (EDT)


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 bmaurer@users.sf.net.

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

--- shadow/61906	2004-07-24 08:17:56.000000000 -0400
+++ shadow/61906.tmp.12920	2004-08-29 11:50:35.000000000 -0400
@@ -1,12 +1,12 @@
 Bug#: 61906
 Product: Mono: Class Libraries
 Version: unspecified
 OS: Windows XP
 OS Details: Xp SP1 PL Pro fully patched
-Status: NEW   
+Status: NEEDINFO   
 Resolution: 
 Severity: Unknown
 Priority: Wishlist
 Component: CORLIB
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: infodate@aster.pl               
@@ -49,6 +49,18 @@
 
 the bug is in marshaling part of corlib
 
 when calling the function returning string representing number 
 preceeded with minus sign last digit (least significant one) is 
 truncated
+
+------- Additional Comments From bmaurer@users.sf.net  2004-08-29 11:50 -------
+I have no idea what you are running. This test case works:
+
+class X {
+	static void Main ()
+	{
+		System.Console.WriteLine (int.MinValue.ToString());
+	}
+}
+
+Can you provide a full test case?