Author: gonzalo
Date: 2005-05-09 11:19:14 -0400 (Mon, 09 May 2005)
New Revision: 44281
Modified:
trunk/mcs/class/System.Web/System.Web/ChangeLog
trunk/mcs/class/System.Web/System.Web/HttpRuntime.cs
Log:
2005-05-09 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
* HttpRuntime.cs: PlatformID.Unix.
Modified: trunk/mcs/class/System.Web/System.Web/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web/ChangeLog 2005-05-09 15:18:10 UTC
(rev 44280)
+++ trunk/mcs/class/System.Web/System.Web/ChangeLog 2005-05-09 15:19:14 UTC
(rev 44281)
@@ -1,3 +1,7 @@
+2005-05-09 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
+
+ * HttpRuntime.cs: PlatformID.Unix.
+
2005-05-08 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
* HttpResponse.cs: cleaned up the .ctors, fix IsClientConnected and just
Modified: trunk/mcs/class/System.Web/System.Web/HttpRuntime.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web/HttpRuntime.cs 2005-05-09
15:18:10 UTC (rev 44280)
+++ trunk/mcs/class/System.Web/System.Web/HttpRuntime.cs 2005-05-09
15:19:14 UTC (rev 44281)
@@ -435,7 +435,11 @@
public static bool IsOnUNCShare {
get {
// IsUnc broken under unix?
+#if NET_2_0
+ return (Environment.OSVersion.Platform !=
PlatformID.Unix &&
+#else
return (!((int) Environment.OSVersion.Platform
== 128) &&
+#endif
new Uri ("file://" +
ClrInstallDirectory).IsUnc);
}
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches