diff options
author | Vailin Choi <vchoi@jam.ad.hdfgroup.org> | 2019-12-05 21:09:23 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:20:19 (GMT) |
commit | 44e8fe048b692950efd70b020a413791e4621f10 (patch) | |
tree | fc31afdd0bcb0edae6d75c6ba640010fad11bfdd /src/H5Spkg.h | |
parent | 1ece440e78fe8ca67f4cbd84be7e55b9275e0af3 (diff) | |
download | hdf5-44e8fe048b692950efd70b020a413791e4621f10.zip hdf5-44e8fe048b692950efd70b020a413791e4621f10.tar.gz hdf5-44e8fe048b692950efd70b020a413791e4621f10.tar.bz2 |
Two fixes:
(1) Set the version for reference datatype messge to H5O_DTYPE_VERSION_4.
(2) Verify the decoded version for hyperslab selection.
Diffstat (limited to 'src/H5Spkg.h')
-rw-r--r-- | src/H5Spkg.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/H5Spkg.h b/src/H5Spkg.h index ba60cbf..e139bce 100644 --- a/src/H5Spkg.h +++ b/src/H5Spkg.h @@ -41,9 +41,10 @@ #define H5S_SELECT_FLAG_BITS (H5S_HYPER_REGULAR) /* Versions for H5S_SEL_HYPER selection info */ -#define H5S_HYPER_VERSION_1 1 -#define H5S_HYPER_VERSION_2 2 -#define H5S_HYPER_VERSION_3 3 +#define H5S_HYPER_VERSION_1 1 +#define H5S_HYPER_VERSION_2 2 +#define H5S_HYPER_VERSION_3 3 +#define H5S_HYPER_VERSION_LATEST H5S_HYPER_VERSION_3 /* Versions for H5S_SEL_POINTS selection info */ #define H5S_POINT_VERSION_1 1 |