[Pkg-mono-svn-commits] rev 2000 - xsp/trunk/debian/patches

Dave Beckett dajobe at costa.debian.org
Wed Sep 21 19:23:21 UTC 2005


Author: dajobe
Date: 2005-09-21 19:23:20 +0000 (Wed, 21 Sep 2005)
New Revision: 2000

Added:
   xsp/trunk/debian/patches/math-min.patch
Log:
Fix Math.Min patch, taken from patch in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=327321

Added: xsp/trunk/debian/patches/math-min.patch
===================================================================
--- xsp/trunk/debian/patches/math-min.patch	2005-09-15 02:17:38 UTC (rev 1999)
+++ xsp/trunk/debian/patches/math-min.patch	2005-09-21 19:23:20 UTC (rev 2000)
@@ -0,0 +1,11 @@
+--- xsp-1.0.5.orig/server/MonoWorkerRequest.cs
++++ xsp-1.0.5/server/MonoWorkerRequest.cs
+@@ -272,7 +272,7 @@
+ 			while (length > 0 && (count = stream.Read (fileContent, 0, count)) != 0) {
+ 				SendResponseFromMemory (fileContent, count);
+ 				length -= count;
+-				count = (int) Math.Min (length, fileContent.Length);
++				count = (int) System.Math.Min (length, fileContent.Length);
+ 			}
+ 		}
+ 




More information about the Pkg-mono-svn-commits mailing list