summaryrefslogtreecommitdiffstats
path: root/src/H5B.c
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2009-04-08 22:16:45 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2009-04-08 22:16:45 (GMT)
commitef77500b284962ce87126ed86186019431bcf119 (patch)
tree8d6339aa3d36938cc8205ad71e2426899f1f72f7 /src/H5B.c
parent6f925167762871f0f1a416afdac25b5f1341aef4 (diff)
downloadhdf5-ef77500b284962ce87126ed86186019431bcf119.zip
hdf5-ef77500b284962ce87126ed86186019431bcf119.tar.gz
hdf5-ef77500b284962ce87126ed86186019431bcf119.tar.bz2
[svn-r16712] Purpose: Fix bug 1423
Description: Versions of the library between 1.3.0 and 1.6.3 have a bug which prevents them from opening any file that does not have the root group's symbol table information cached in the root group's entry in the superblock. Prior to 1.8 this was not an issue as this information was always cached. However, 1.8.0 stopped writing this information (which is not required by the file format specification), and these older versions can therefore not read files created or last written by versions 1.8.0 to 1.8.2. This fix modifies the library to once again add this information to the superblock (when using the old file format). Tested: jam, linew, smirom (h5committest)
Diffstat (limited to 'src/H5B.c')
-rw-r--r--src/H5B.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/H5B.c b/src/H5B.c
index 5d3ce48..e574bdd 100644
--- a/src/H5B.c
+++ b/src/H5B.c
@@ -2057,7 +2057,6 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5B_get_info() */
-#ifndef H5_STRICT_FORMAT_CHECKS
/*-------------------------------------------------------------------------
* Function: H5B_valid
@@ -2099,5 +2098,4 @@ H5B_valid(H5F_t *f, hid_t dxpl_id, const H5B_class_t *type, haddr_t addr)
done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5B_valid() */
-#endif /* H5_STRICT_FORMAT_CHECKS */