aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs b/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs
index c7723f1..4b582c2 100644
--- a/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs
+++ b/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs
@@ -361,7 +361,7 @@ namespace Flotsam.RegionModules.AssetCache
361 { 361 {
362 try 362 try
363 { 363 {
364 FileStream stream = File.Open(filename, FileMode.Open); 364 FileStream stream = File.Open(filename, FileMode.Open, FileAccess.Read, FileShare.Read);
365 BinaryFormatter bformatter = new BinaryFormatter(); 365 BinaryFormatter bformatter = new BinaryFormatter();
366 366
367 asset = (AssetBase)bformatter.Deserialize(stream); 367 asset = (AssetBase)bformatter.Deserialize(stream);