aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortradke <tradke@4825ed28-b72c-4eae-9704-e50c059e567d>2004-11-17 18:45:48 +0000
committertradke <tradke@4825ed28-b72c-4eae-9704-e50c059e567d>2004-11-17 18:45:48 +0000
commite3bac2b6fff348f037de24b9b4ac88dd663ef10d (patch)
treed443d18de4f1adb35da1b1d984aa1abdf14795de /src
parent065fb3c740b34ad80a35349f53d8044cb12b3973 (diff)
Use aliased function IO_TruncateOutputFiles() to check whether or not
to truncate existing output files. You must also update CactusBase/IOUtil now. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5/trunk@211 4825ed28-b72c-4eae-9704-e50c059e567d
Diffstat (limited to 'src')
-rw-r--r--src/Write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Write.c b/src/Write.c
index 1a69cf9..d2f393e 100644
--- a/src/Write.c
+++ b/src/Write.c
@@ -333,7 +333,7 @@ static char *IOHDF5_GetFilename (const cGH *GH,
{
if (myproc == ioUtilGH->ioproc)
{
- if (ioUtilGH->recovered)
+ if (! IO_TruncateOutputFiles (GH))
{
H5E_BEGIN_TRY
{