aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorBrian McBee2007-08-29 01:50:59 +0000
committerBrian McBee2007-08-29 01:50:59 +0000
commitf1be2833786dc0b9ff73a8af68595ba530968761 (patch)
treea1c3c95b2c079adeb0adae6799477fab798e76f4
parentPartial fix for corner-handle prim resize bug. Doesn't work correctly with li... (diff)
downloadopensim-SC-f1be2833786dc0b9ff73a8af68595ba530968761.zip
opensim-SC-f1be2833786dc0b9ff73a8af68595ba530968761.tar.gz
opensim-SC-f1be2833786dc0b9ff73a8af68595ba530968761.tar.bz2
opensim-SC-f1be2833786dc0b9ff73a8af68595ba530968761.tar.xz
Attempt to fix bug on linux where estate_settings.xml gets wiped.
-rw-r--r--OpenSim/Framework/Configuration/XML/XmlConfiguration.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Framework/Configuration/XML/XmlConfiguration.cs b/OpenSim/Framework/Configuration/XML/XmlConfiguration.cs
index ffb24ff..1254228 100644
--- a/OpenSim/Framework/Configuration/XML/XmlConfiguration.cs
+++ b/OpenSim/Framework/Configuration/XML/XmlConfiguration.cs
@@ -125,7 +125,10 @@ namespace OpenSim.Framework.Configuration
125 Directory.CreateDirectory(Util.configDir()); 125 Directory.CreateDirectory(Util.configDir());
126 } 126 }
127 127
128 doc.Save(fileName); 128 lock(this)
129 {
130 doc.Save(fileName);
131 }
129 } 132 }
130 133
131 public void Close() 134 public void Close()