[Mono-bugs] [Bug 76916][Nor] New - Adding Console.Writeline()
changes the behaviour of the program
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon Dec 5 11:23:09 EST 2005
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 alexanro at pvv.org.
http://bugzilla.ximian.com/show_bug.cgi?id=76916
--- shadow/76916 2005-12-05 11:23:09.000000000 -0500
+++ shadow/76916.tmp.24955 2005-12-05 11:23:09.000000000 -0500
@@ -0,0 +1,45 @@
+Bug#: 76916
+Product: Mono: Compilers
+Version: 1.1
+OS:
+OS Details: Linux 2.6.8-2-686 #1 Thu May 19 17:53:30 JST 2005 i686 GNU/Linux
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: C#
+AssignedTo: rharinath at novell.com
+ReportedBy: alexanro at pvv.org
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Adding Console.Writeline() changes the behaviour of the program
+
+How to reproduce:
+
+1. Create and enter some temporary directory
+2. Get my source-tarball:
+wget http://www.stud.ntnu.no/~alexanro/strangemono.tbz2
+3. Unpack
+tar jxf strangemono.tbz2
+4. Get all lines of the output, except the ones produced by the
+ added "Console.WriteLine"
+cat strangemono/output_with_writeline.txt | grep -v "Set" > a.txt
+5. Get the output that are produced without the extra
+"Console.WriteLine"
+cp strangemono/output_without_writeline.txt b.txt
+6. Compare the output from the exact same sourcecode, where the only
+difference is an added "Console.WriteLine":
+diff -q a.txt b.txt
+7. Confirm that the only difference in the two sourcefiles is a
+"Console.WriteLine" that is commented out:
+diff strangemono/source_without_writeline.cs
+strangemono/source_with_writeline.cs
+8. Try compiling the sourcefiles and comparing the output for an
+additional confirmation of the problem
+
+That's it.
+
+Expected behavior is that producing output never ever should change the
+bahavior of the program.
More information about the mono-bugs
mailing list