[Mono-bugs] [Bug 72234][Blo] New - XSP (Math.Min) Namespace Issue

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 4 Feb 2005 22:45:08 -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 tgraupmann@yahoo.com.


--- shadow/72234	2005-02-04 22:45:08.000000000 -0500
+++ shadow/72234.tmp.4445	2005-02-04 22:45:08.000000000 -0500
@@ -0,0 +1,31 @@
+Bug#: 72234
+Product: Mono: Tools
+Version: 1.0
+OS Details: Mandrake 10.1
+Status: NEW   
+Severity: 000 No more required
+Priority: Blocker
+Component: XSP
+AssignedTo: gonzalo@ximian.com                            
+ReportedBy: tgraupmann@yahoo.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: XSP (Math.Min) Namespace Issue
+This is a simple bug in the XSP 1.0.5 source which makes XSP not able to
+compile on Mandrake Linux 10.1 (Official).
+In xsp-1.0.5/server/MonoWorkerRequest.cs"
+Line: 275
+count = (int) Math.Min (length, fileContent.Length);
+needs to change to:
+count = (int) System.Math.Min (length, fileContent.Length);
+in order to compile because both System.Math.Min and Mono.Math.Min
+namespaces are conflicting. Either can be explicitly used.