summaryrefslogtreecommitdiffstats
path: root/testpar/t_prop.c
diff options
context:
space:
mode:
authorVailin Choi <vchoi@hdfgroup.org>2019-04-08 19:11:28 (GMT)
committerVailin Choi <vchoi@hdfgroup.org>2019-04-08 19:11:28 (GMT)
commit52276f3713eec584044bc72d4724507848cfeba0 (patch)
tree2bd8e746308a6f19d0302403e3f0492dd8dc63ed /testpar/t_prop.c
parent74677ba5ce41ab9db100e2059ceb85b44b874466 (diff)
parent3ccc98e256587c43f6ba5a31a2cf9d922f4e1773 (diff)
downloadhdf5-52276f3713eec584044bc72d4724507848cfeba0.zip
hdf5-52276f3713eec584044bc72d4724507848cfeba0.tar.gz
hdf5-52276f3713eec584044bc72d4724507848cfeba0.tar.bz2
Merge pull request #1645 in HDFFV/hdf5 from ~VCHOI/my_third_fork:bugfix/HDFFV-10365-h5sencode-decode-bug-when-num to develop
* commit '3ccc98e256587c43f6ba5a31a2cf9d922f4e1773': Modifications based on PR feedback: (1) Add H5Sdeprec.c to src/CMakeLists.txt (2) Add test for H5Sencode1. Modification for num_elem based on PR feedback. HDFFV-10365: Changes as described in the RFC: H5Sencode/H5Sdecode Format Change. This also addresses HDFFV-10255: H5Sencode/decode performance issue.
Diffstat (limited to 'testpar/t_prop.c')
-rw-r--r--testpar/t_prop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testpar/t_prop.c b/testpar/t_prop.c
index d5efa94..2eb3914 100644
--- a/testpar/t_prop.c
+++ b/testpar/t_prop.c
@@ -33,12 +33,12 @@ test_encode_decode(hid_t orig_pl, int mpi_rank, int recv_proc)
int send_size = 0;
/* first call to encode returns only the size of the buffer needed */
- ret = H5Pencode(orig_pl, NULL, &buf_size);
+ ret = H5Pencode2(orig_pl, NULL, &buf_size, H5P_DEFAULT);
VRFY((ret >= 0), "H5Pencode succeeded");
sbuf = (uint8_t *)HDmalloc(buf_size);
- ret = H5Pencode(orig_pl, sbuf, &buf_size);
+ ret = H5Pencode2(orig_pl, sbuf, &buf_size, H5P_DEFAULT);
VRFY((ret >= 0), "H5Pencode succeeded");
/* this is a temp fix to send this size_t */