diff options
author | David Young <dyoung@hdfgroup.org> | 2020-05-19 20:00:37 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:37:22 (GMT) |
commit | 9eb33fe81254cb1f4a6beed98adcb485a4a4ab36 (patch) | |
tree | 83b0ba6b5d35882d9b8c0eda476a9993aed6fad3 /test/cache.c | |
parent | 95c57f07bce48e0d7f9e16b210e61c3d2dc3b11d (diff) | |
download | hdf5-9eb33fe81254cb1f4a6beed98adcb485a4a4ab36.zip hdf5-9eb33fe81254cb1f4a6beed98adcb485a4a4ab36.tar.gz hdf5-9eb33fe81254cb1f4a6beed98adcb485a4a4ab36.tar.bz2 |
Reduce diffs with `develop`, where `H5C_move_entry` takes an `H5C_t *`
argument, first, not `H5F_t *`.
Diffstat (limited to 'test/cache.c')
-rw-r--r-- | test/cache.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/test/cache.c b/test/cache.c index 6240149..bb18728 100644 --- a/test/cache.c +++ b/test/cache.c @@ -14023,7 +14023,7 @@ check_move_entry__run_test(H5F_t * file_ptr, if(!spec_ptr->is_protected) unprotect_entry(file_ptr, spec_ptr->entry_type, spec_ptr->entry_index, flags); - move_entry(file_ptr, spec_ptr->entry_type, spec_ptr->entry_index, FALSE); + move_entry(cache_ptr, spec_ptr->entry_type, spec_ptr->entry_index, FALSE); } @@ -14121,7 +14121,7 @@ check_move_entry__run_test(H5F_t * file_ptr, } /* put the entry back where it started from */ - move_entry(file_ptr, spec_ptr->entry_type, spec_ptr->entry_index, TRUE); + move_entry(cache_ptr, spec_ptr->entry_type, spec_ptr->entry_index, TRUE); return; @@ -17007,8 +17007,7 @@ check_move_entry_errs(unsigned paged) } /* end if */ if(pass) { - result = H5C_move_entry(file_ptr, types[0], entry_0_0_ptr->addr, - entry_0_1_ptr->addr); + result = H5C_move_entry(cache_ptr, types[0], entry_0_0_ptr->addr, entry_0_1_ptr->addr); if(result >= 0) { pass = FALSE; @@ -17017,8 +17016,7 @@ check_move_entry_errs(unsigned paged) } /* end if */ if(pass) { - result = H5C_move_entry(file_ptr, types[0], entry_0_0_ptr->addr, - entry_1_0_ptr->addr); + result = H5C_move_entry(cache_ptr, types[0], entry_0_0_ptr->addr, entry_1_0_ptr->addr); if(result >= 0) { pass = FALSE; @@ -17049,8 +17047,7 @@ check_move_entry_errs(unsigned paged) } /* end if */ if(pass) { - result = H5C_move_entry(file_ptr, types[0], entry_ptr->header.addr, - entry_ptr->header.addr + 10); + result = H5C_move_entry(cache_ptr, types[0], entry_ptr->header.addr, entry_ptr->header.addr + 10); if(result >= 0) { pass = FALSE; |