aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Util.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Util.cs')
-rw-r--r--OpenSim/Framework/Util.cs12
1 files changed, 10 insertions, 2 deletions
diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs
index 7093010..8e4a953 100644
--- a/OpenSim/Framework/Util.cs
+++ b/OpenSim/Framework/Util.cs
@@ -92,6 +92,7 @@ namespace OpenSim.Framework
92 // explicitly given 92 // explicitly given
93 All = 0x8e000, 93 All = 0x8e000,
94 AllAndExport = 0x9e000, 94 AllAndExport = 0x9e000,
95 AllAndExportNoMod = 0x9a000,
95 AllEffective = 0x9e000, 96 AllEffective = 0x9e000,
96 UnfoldedMask = 0x1e000 97 UnfoldedMask = 0x1e000
97 } 98 }
@@ -671,7 +672,7 @@ namespace OpenSim.Framework
671 public static string GetFormattedXml(string rawXml) 672 public static string GetFormattedXml(string rawXml)
672 { 673 {
673 XmlDocument xd = new XmlDocument(); 674 XmlDocument xd = new XmlDocument();
674 xd.XmlResolver=null; 675
675 xd.LoadXml(rawXml); 676 xd.LoadXml(rawXml);
676 677
677 StringBuilder sb = new StringBuilder(); 678 StringBuilder sb = new StringBuilder();
@@ -2675,7 +2676,7 @@ namespace OpenSim.Framework
2675 2676
2676 callback(o); 2677 callback(o);
2677 } 2678 }
2678 catch (ThreadAbortException e) 2679 catch (ThreadAbortException)
2679 { 2680 {
2680 } 2681 }
2681 catch (Exception e) 2682 catch (Exception e)
@@ -2858,6 +2859,12 @@ namespace OpenSim.Framework
2858 /// <returns>The stack trace, or null if failed to get it</returns> 2859 /// <returns>The stack trace, or null if failed to get it</returns>
2859 private static StackTrace GetStackTrace(Thread targetThread) 2860 private static StackTrace GetStackTrace(Thread targetThread)
2860 { 2861 {
2862
2863 return null;
2864/*
2865 not only this does not work on mono but it is not longer recomended on windows.
2866 can cause deadlocks etc.
2867
2861 if (IsPlatformMono) 2868 if (IsPlatformMono)
2862 { 2869 {
2863 // This doesn't work in Mono 2870 // This doesn't work in Mono
@@ -2920,6 +2927,7 @@ namespace OpenSim.Framework
2920 // Signal the fallack-thread to stop 2927 // Signal the fallack-thread to stop
2921 exitedSafely.Set(); 2928 exitedSafely.Set();
2922 } 2929 }
2930*/
2923 } 2931 }
2924#pragma warning restore 0618 2932#pragma warning restore 0618
2925 2933