summaryrefslogtreecommitdiffstats
path: root/src/H5Pfapl.c
diff options
context:
space:
mode:
authorVailin Choi <vchoi@jam.ad.hdfgroup.org>2018-12-02 06:17:15 (GMT)
committerVailin Choi <vchoi@jam.ad.hdfgroup.org>2018-12-02 06:17:15 (GMT)
commit49f45640f6b1a3f162027f22a0f00b6eb7f3f433 (patch)
treeefd0f1ec87de84e17969c0d079d1ffa32aab3a8c /src/H5Pfapl.c
parentce2748f0114cb1eae00799f8349a5451152c7fa3 (diff)
downloadhdf5-49f45640f6b1a3f162027f22a0f00b6eb7f3f433.zip
hdf5-49f45640f6b1a3f162027f22a0f00b6eb7f3f433.tar.gz
hdf5-49f45640f6b1a3f162027f22a0f00b6eb7f3f433.tar.bz2
(1) Fix for accumulator issue #1 as described in John's previous checkin
(2) Test files for encoding/decoding property lists (3) Fix test failures for PB statistics in test/page_buffer.c (Will double check with John later about PB statistics collection)
Diffstat (limited to 'src/H5Pfapl.c')
-rw-r--r--src/H5Pfapl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5Pfapl.c b/src/H5Pfapl.c
index fbac84d..71ab475 100644
--- a/src/H5Pfapl.c
+++ b/src/H5Pfapl.c
@@ -3985,7 +3985,8 @@ H5P__facc_vfd_swmr_config_enc(const void *value, void **_pp, size_t *size)
} /* end if */
/* Compute encoded size */
- *size += ( (4 * sizeof(int32_t)) + sizeof(unsigned) +
+ *size += ( (4 * sizeof(int32_t)) +
+ (2 * sizeof(unsigned)) +
(2 * (H5F__MAX_VFD_SWMR_FILE_NAME_LEN + 1)) );
FUNC_LEAVE_NOAPI(SUCCEED)