Author: gnorton
Date: 2008-02-15 12:47:02 -0500 (Fri, 15 Feb 2008)
New Revision: 95772
Modified:
trunk/monodevelop/main/src/core/MonoDevelop.Core/ChangeLog
trunk/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core/Runtime.cs
Log:
In .:
* MonoDevelop.Core/Runtime.cs: Only pinvoke libc on unix.
2008-02-15 Geoff Norton <[EMAIL PROTECTED]>
Modified: trunk/monodevelop/main/src/core/MonoDevelop.Core/ChangeLog
===================================================================
--- trunk/monodevelop/main/src/core/MonoDevelop.Core/ChangeLog 2008-02-15
17:38:19 UTC (rev 95771)
+++ trunk/monodevelop/main/src/core/MonoDevelop.Core/ChangeLog 2008-02-15
17:47:02 UTC (rev 95772)
@@ -1,5 +1,9 @@
2008-02-15 Geoff Norton <[EMAIL PROTECTED]>
+ * MonoDevelop.Core/Runtime.cs: Only pinvoke libc on unix.
+
+2008-02-15 Geoff Norton <[EMAIL PROTECTED]>
+
* MonoDevelop.Core.Execution/ProcessService.cs: Disable .NET remoting
security on the TCP channel.
Modified:
trunk/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core/Runtime.cs
===================================================================
---
trunk/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core/Runtime.cs
2008-02-15 17:38:19 UTC (rev 95771)
+++
trunk/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core/Runtime.cs
2008-02-15 17:47:02 UTC (rev 95772)
@@ -138,10 +138,12 @@
public static void SetProcessName (string name)
{
- try {
- unixSetProcessName (name);
- } catch (Exception e) {
- LoggingService.LogError ("Error setting process
name", e);
+ if (Environment.OSVersion.Platform == PlatformID.Unix) {
+ try {
+ unixSetProcessName (name);
+ } catch (Exception e) {
+ LoggingService.LogError ("Error setting
process name", e);
+ }
}
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches