summaryrefslogtreecommitdiffstats
path: root/test/swmr.c
diff options
context:
space:
mode:
authorNeil Fortner <fortnern@gmail.com>2022-07-19 21:19:02 (GMT)
committerGitHub <noreply@github.com>2022-07-19 21:19:02 (GMT)
commit4461678fb5932436a0ce05df4b5a84a10179bb60 (patch)
treed47b53d3782f4c6f6f1849d5384b87f8f149172f /test/swmr.c
parent96c4e0521cf2e705a60eae6aedac19e7f8913b35 (diff)
downloadhdf5-4461678fb5932436a0ce05df4b5a84a10179bb60.zip
hdf5-4461678fb5932436a0ce05df4b5a84a10179bb60.tar.gz
hdf5-4461678fb5932436a0ce05df4b5a84a10179bb60.tar.bz2
Fix bug in swmr.c introduced with recent merge (double_t) (#1913)
* Fix HDFFV-11308 - dataset access properties disappear when using H5Fstart_swmr_write. * Committing clang-format changes * Add test for H5Fstart_swmr_write() persisting DAPL settings. Fix bugs in the library exposed by this test. * Committing clang-format changes * Replace accidental use of double_t in swmr.c with double. Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'test/swmr.c')
-rw-r--r--test/swmr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/swmr.c b/test/swmr.c
index 96eb0f0..9ab96d0 100644
--- a/test/swmr.c
+++ b/test/swmr.c
@@ -3199,7 +3199,7 @@ dummy_append_flush_cb(hid_t H5_ATTR_UNUSED dataset_id, hsize_t H5_ATTR_UNUSED *c
static herr_t
tssw_persist_dapl_verify(hid_t did, hid_t vdsid1, hid_t vdsid2, hsize_t boundary, H5D_append_cb_t append_func,
- void *append_func_ud, size_t rdcc_nslots, size_t rdcc_nbytes, double_t rdcc_w0,
+ void *append_func_ud, size_t rdcc_nslots, size_t rdcc_nbytes, double rdcc_w0,
const char *efile_prefix, const char *virtual_prefix, hsize_t gap_size,
H5D_vds_view_t virtual_view)
{
@@ -3211,7 +3211,7 @@ tssw_persist_dapl_verify(hid_t did, hid_t vdsid1, hid_t vdsid2, hsize_t boundary
void * append_func_ud_out = NULL;
size_t rdcc_nslots_out = 0;
size_t rdcc_nbytes_out = 0;
- double_t rdcc_w0_out = 0.;
+ double rdcc_w0_out = 0.;
char efile_prefix_out[64];
char virtual_prefix_out[64];
hsize_t gap_size_out = 0;
@@ -3314,7 +3314,7 @@ test_start_swmr_write_persist_dapl(hid_t in_fapl)
void * append_func_ud = &boundary;
size_t rdcc_nslots = 125;
size_t rdcc_nbytes = 23434;
- double_t rdcc_w0 = 0.68419;
+ double rdcc_w0 = 0.68419;
const char * efile_prefix = "dummy_efile_prefix";
const char * virtual_prefix = "dummy_virtual_prefix";
hsize_t gap_size = 421;