summaryrefslogtreecommitdiffstats
path: root/src/H5AC.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-09-28 14:20:21 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-09-28 14:20:21 (GMT)
commitc0941f01e38812435e8dd2052d3d7b5deab045dc (patch)
tree0d8a314e12f0f26ebb1cb1326ed5169fa09fab53 /src/H5AC.c
parentb1df4a74cd6a4e620a7f73cedce611988ca151d8 (diff)
downloadhdf5-c0941f01e38812435e8dd2052d3d7b5deab045dc.zip
hdf5-c0941f01e38812435e8dd2052d3d7b5deab045dc.tar.gz
hdf5-c0941f01e38812435e8dd2052d3d7b5deab045dc.tar.bz2
[svn-r726] Changes since 19980924
---------------------- ./MANIFEST ./src/H5B.c ./src/H5Bprivate.h ./src/H5G.c ./src/H5Gnode.c ./src/H5Gprivate.h ./test/Makefile.in ./test/unlink.c [NEW] Finished H5Gunlink() and H5Grename(). ./src/H5F.c ./src/H5Fistore.c ./src/H5Fprivate.h Removed the last memcpy() from the chunk cache. ./src/H5Fistore.c The offset of a chunk within a dataset is an 8-byte quantity per dimension instead of 4 bytes. ./src/H5HL.c Fixed infinite loops in H5HL_remove().
Diffstat (limited to 'src/H5AC.c')
-rw-r--r--src/H5AC.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/H5AC.c b/src/H5AC.c
index cb7c7cd..ac6e140 100644
--- a/src/H5AC.c
+++ b/src/H5AC.c
@@ -396,12 +396,10 @@ H5AC_flush(H5F_t *f, const H5AC_class_t *type, const haddr_t *addr,
for (i = 0; i < nslots; i++) {
#ifdef H5AC_SORT_BY_ADDR
slot = cache->slot + map[i];
- if (NULL == slot->type)
- break; /*the rest are empty */
+ if (NULL == slot->type) break; /*the rest are empty */
#else
slot = cache->slot + i;
- if (NULL == slot->type)
- continue;
+ if (NULL == slot->type) continue;
#endif
if (!type || type == slot->type) {
flush = slot->type->flush;
@@ -639,7 +637,7 @@ H5AC_rename(H5F_t *f, const H5AC_class_t *type,
*
*-------------------------------------------------------------------------
*/
-void *
+void *
H5AC_protect(H5F_t *f, const H5AC_class_t *type, const haddr_t *addr,
const void *udata1, void *udata2)
{