summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMike McGreevy <mamcgree@hdfgroup.org>2008-06-09 18:28:37 (GMT)
committerMike McGreevy <mamcgree@hdfgroup.org>2008-06-09 18:28:37 (GMT)
commit32f3fe6586828a0a04263bb34464b6ea0057900b (patch)
treeecfb4f43d9a74e0c08099444d18d403e211a3a97 /tools
parentec09c59c12356423efc8dc512de2d49c551af67d (diff)
downloadhdf5-32f3fe6586828a0a04263bb34464b6ea0057900b.zip
hdf5-32f3fe6586828a0a04263bb34464b6ea0057900b.tar.gz
hdf5-32f3fe6586828a0a04263bb34464b6ea0057900b.tar.bz2
[svn-r15182] Purpose: Bug Fix
Description: Changed H5C2_jb__journal_entry function to make a copy of the incoming journal entry before doing anything with it. I was seeing errors in the journals produced by using the pointer passed to me, so copying the data beforehand looks to solve the problem. Also made a quick change to h5recover.c to use generated fapl when opening the recovered HDF5 file. (was previously using H5P_DEFAULT). Tested: kagiso
Diffstat (limited to 'tools')
-rw-r--r--tools/h5recover/h5recover.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5recover/h5recover.c b/tools/h5recover/h5recover.c
index e989bee..bb83d24 100644
--- a/tools/h5recover/h5recover.c
+++ b/tools/h5recover/h5recover.c
@@ -682,7 +682,7 @@ main (int argc, const char *argv[])
} /* end if */
/* open HDF5 file with provided fapl */
- fid = H5Fopen(file_name, H5F_ACC_RDWR, H5P_DEFAULT /*fapl */);
+ fid = H5Fopen(file_name, H5F_ACC_RDWR, fapl);
if ( fid == -1 ) {