summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVailin Choi <vchoi@hdfgroup.org>2019-12-16 19:49:16 (GMT)
committerVailin Choi <vchoi@hdfgroup.org>2019-12-16 19:49:16 (GMT)
commit9ee8c599d7b8cd495efb28cd9f068192712ae086 (patch)
tree5128c52039dfc74b1841febeba6347d8342317c0
parent568e30ef0d40f9a296b387f4ec4f42d2cbbbd641 (diff)
parentb42325e8f5ff3b6bfa2ce446af5b6dc5cbbff666 (diff)
downloadhdf5-9ee8c599d7b8cd495efb28cd9f068192712ae086.zip
hdf5-9ee8c599d7b8cd495efb28cd9f068192712ae086.tar.gz
hdf5-9ee8c599d7b8cd495efb28cd9f068192712ae086.tar.bz2
Merge pull request #2086 in HDFFV/hdf5 from ~VCHOI/my_third_fork:bugfix/reference_ver_hyperslab_ver to develop
* commit 'b42325e8f5ff3b6bfa2ce446af5b6dc5cbbff666': More fixes for previous committed PR #2079 dated Dec 5 2019. (1) H5O_dtype_ver_bounds[] for V112 should be H5O_DTYPE_VRESION_4 (2) The tests for the new reference types should work for V112 and beyond
-rw-r--r--src/H5T.c2
-rw-r--r--test/trefer.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/H5T.c b/src/H5T.c
index f378357..f1c2dbb 100644
--- a/src/H5T.c
+++ b/src/H5T.c
@@ -533,7 +533,7 @@ const unsigned H5O_dtype_ver_bounds[] = {
H5O_DTYPE_VERSION_1, /* H5F_LIBVER_EARLIEST */
H5O_DTYPE_VERSION_3, /* H5F_LIBVER_V18 */
H5O_DTYPE_VERSION_3, /* H5F_LIBVER_V110 */
- H5O_DTYPE_VERSION_3, /* H5F_LIBVER_V112 */
+ H5O_DTYPE_VERSION_4, /* H5F_LIBVER_V112 */
H5O_DTYPE_VERSION_LATEST /* H5F_LIBVER_LATEST */
};
diff --git a/test/trefer.c b/test/trefer.c
index cd09c8e..b412fc2 100644
--- a/test/trefer.c
+++ b/test/trefer.c
@@ -2816,7 +2816,7 @@ test_reference(void)
for(high = H5F_LIBVER_EARLIEST; high < H5F_LIBVER_NBOUNDS; high++) {
/* Invalid combinations, just continue */
- if(high <= H5F_LIBVER_V112 || high < low)
+ if(high <= H5F_LIBVER_V110 || high < low)
continue;
test_reference_region(low, high); /* Test basic H5R dataset region reference code */