[Mono-bugs] [Bug 48679][Maj] Changed - Unboxed bool is neither true nor false

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 22 Sep 2003 21:05:36 -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 mass@akuma.org.

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

--- shadow/48679	2003-09-21 22:01:21.000000000 -0400
+++ shadow/48679.tmp.5787	2003-09-22 21:05:36.000000000 -0400
@@ -1,10 +1,10 @@
 Bug#: 48679
 Product: Mono/Runtime
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
 Severity: Unknown
 Priority: Major
 Component: misc
@@ -49,6 +49,22 @@
 False
 True
 
 
 How often does this happen? 
 Always
+
+------- Additional Comments From mass@akuma.org  2003-09-22 21:05 -------
+Appending this block of code after the last WriteLine:
+
+                int c;
+                unsafe
+                {
+                     bool *b2 = &b;
+                     int  *c2 = (int*) b2;
+                     c  = *c2;
+
+                }
+                Console.WriteLine (c);
+
+'c' prints as '1' in mini and the microsoft vm, and '222114047' on my
+instance of mono.