summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVailin Choi <vchoi@jam.ad.hdfgroup.org>2019-06-25 19:47:53 (GMT)
committerVailin Choi <vchoi@jam.ad.hdfgroup.org>2019-06-25 19:47:53 (GMT)
commit3768566139df18928aa29ece0eff3010b224633b (patch)
treebe052a47f9a483a6b100c3444de4be420cd4b625
parent71de5b808818a2619fe179eac4f6c6ec892a4420 (diff)
downloadhdf5-3768566139df18928aa29ece0eff3010b224633b.zip
hdf5-3768566139df18928aa29ece0eff3010b224633b.tar.gz
hdf5-3768566139df18928aa29ece0eff3010b224633b.tar.bz2
Add release notes.
-rw-r--r--release_docs/RELEASE.txt16
-rw-r--r--src/H5Fsuper.c3
2 files changed, 17 insertions, 2 deletions
diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt
index c8061f5..7c9bbfa 100644
--- a/release_docs/RELEASE.txt
+++ b/release_docs/RELEASE.txt
@@ -282,6 +282,22 @@ Bug Fixes since HDF5-1.10.3 release
Library
-------
+ - Fixed an issue where creating a file with non-default file space info
+ together with library high bound setting to H5F_LIBVER_V18.
+
+ When setting non-default file space info in fcpl via
+ H5Pset_file_space_strategy() and then creating a file with
+ both high and low library bounds set to
+ H5F_LIBVER_V18 in fapl, the library succeeds in creating the file.
+ File creation should fail because the feature of setting non-default
+ file space info does not exist in library release 1.8 or earlier.
+
+ This was fixed by setting and checking the proper version in the
+ file space info message based on the library low and high bounds
+ when creating and opening the HDF5 file.
+
+ (VC - 2019/6/25, HDFFV-10808)
+
- Fixed an issue where copying a version 1.8 dataset between files using
H5Ocopy fails due to an incompatible fill version
diff --git a/src/H5Fsuper.c b/src/H5Fsuper.c
index 7d90df1..f4ff645 100644
--- a/src/H5Fsuper.c
+++ b/src/H5Fsuper.c
@@ -1850,9 +1850,8 @@ H5O__fsinfo_set_version(H5F_t *f, H5O_fsinfo_t *fsinfo)
version = H5O_FSINFO_VERSION_1;
/* Upgrade to the version indicated by the file's low bound if higher */
- if(H5O_fsinfo_ver_bounds[H5F_LOW_BOUND(f)] != H5O_INVALID_VERSION) {
+ if(H5O_fsinfo_ver_bounds[H5F_LOW_BOUND(f)] != H5O_INVALID_VERSION)
version = MAX(version, H5O_fsinfo_ver_bounds[H5F_LOW_BOUND(f)]);
- }
/* Version bounds check */
if(H5O_fsinfo_ver_bounds[H5F_HIGH_BOUND(f)] == H5O_INVALID_VERSION ||