aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/World/Archiver/TarArchiveWriter.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-01-30 20:54:38 +0000
committerJustin Clarke Casey2009-01-30 20:54:38 +0000
commitc307e0e4a7ddf0b07f2b0662fe55adc31b64b393 (patch)
tree3206f4a7aa0d00ad5256599eb457de0ce608fcc6 /OpenSim/Region/Environment/Modules/World/Archiver/TarArchiveWriter.cs
parent* furhter simplify test setups for objects (diff)
downloadopensim-SC_OLD-c307e0e4a7ddf0b07f2b0662fe55adc31b64b393.zip
opensim-SC_OLD-c307e0e4a7ddf0b07f2b0662fe55adc31b64b393.tar.gz
opensim-SC_OLD-c307e0e4a7ddf0b07f2b0662fe55adc31b64b393.tar.bz2
opensim-SC_OLD-c307e0e4a7ddf0b07f2b0662fe55adc31b64b393.tar.xz
* Extend archive save test to check for the presence of the file for the object that was in the scene
* Can now pass in a wait handle to ArchiveRegion() if you want same thread signalling that the save has completed
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Modules/World/Archiver/TarArchiveWriter.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Archiver/TarArchiveWriter.cs b/OpenSim/Region/Environment/Modules/World/Archiver/TarArchiveWriter.cs
index 55edec0..8fd247c 100644
--- a/OpenSim/Region/Environment/Modules/World/Archiver/TarArchiveWriter.cs
+++ b/OpenSim/Region/Environment/Modules/World/Archiver/TarArchiveWriter.cs
@@ -29,8 +29,8 @@ using System;
29using System.Collections.Generic; 29using System.Collections.Generic;
30using System.IO; 30using System.IO;
31using System.Text; 31using System.Text;
32//using System.Reflection; 32using System.Reflection;
33//using log4net; 33using log4net;
34 34
35namespace OpenSim.Region.Environment.Modules.World.Archiver 35namespace OpenSim.Region.Environment.Modules.World.Archiver
36{ 36{
@@ -169,6 +169,8 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver
169 } 169 }
170 } 170 }
171 171
172 //m_log.Debug("[TAR ARCHIVE WRITER]: Writing final consecutive 0 blocks");
173
172 // Write two consecutive 0 blocks to end the archive 174 // Write two consecutive 0 blocks to end the archive
173 byte[] finalZeroPadding = new byte[1024]; 175 byte[] finalZeroPadding = new byte[1024];
174 bw.Write(finalZeroPadding); 176 bw.Write(finalZeroPadding);