[Mono-bugs] [Bug 54062][Maj] New - WriteByte is wrong

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 9 Feb 2004 04:02:26 -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 manuel.serrano@inria.fr.

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

--- shadow/54062	2004-02-09 04:02:26.000000000 -0500
+++ shadow/54062.tmp.24097	2004-02-09 04:02:26.000000000 -0500
@@ -0,0 +1,51 @@
+Bug#: 54062
+Product: Mono/Runtime
+Version: unspecified
+OS: 
+OS Details: Linux 2.4, gcc 3.3.2
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: Manuel.Serrano@inria.fr               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: WriteByte is wrong
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+WriteByte is wrong. It raises an internal error.
+
+Steps to reproduce the problem:
+1. 
+Write any C# program that uses WriteByte, you will se the problem.
+
+2. 
+3. 
+
+Actual Results:
+
+
+Expected Results:
+
+
+How often does this happen? 
+
+Always.
+
+Additional Information:
+$ mono -version
+Mono JIT compiler version 0.29, (C) 2002, 2003 Ximian, Inc.
+
+As a workaround, we currently use something like:
+
+    static byte[] mono_WriteByte_workaround = new byte[1];
+
+    mono_WriteByte_workaround[ 0 ] = (byte)cn;
+    stream.Write( mono_WriteByte_workaround, 0, 1 );
+    stream.Flush();