summaryrefslogtreecommitdiffstats
path: root/src/H5AC.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2000-04-19 22:19:08 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2000-04-19 22:19:08 (GMT)
commit59991950113e7850b20bf2f083c405fe95fa8abe (patch)
tree963520c0da8ed0a23f78d6a31e094e5979dd90ea /src/H5AC.c
parent395326672ca315c4c2fea30de233c3a412fb69d9 (diff)
downloadhdf5-59991950113e7850b20bf2f083c405fe95fa8abe.zip
hdf5-59991950113e7850b20bf2f083c405fe95fa8abe.tar.gz
hdf5-59991950113e7850b20bf2f083c405fe95fa8abe.tar.bz2
[svn-r2157] Changed hashing scheme slightly to better spread out the hash values returned.
Diffstat (limited to 'src/H5AC.c')
-rw-r--r--src/H5AC.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5AC.c b/src/H5AC.c
index 1dbcaaf..909878b 100644
--- a/src/H5AC.c
+++ b/src/H5AC.c
@@ -494,6 +494,7 @@ H5AC_set(H5F_t *f, const H5AC_class_t *type, haddr_t addr, void *thing)
}
#endif
+
if (slot->type) {
flush = slot->type->flush;
status = (flush)(f, TRUE, slot->addr, slot->thing);
@@ -666,7 +667,7 @@ H5AC_protect(H5F_t *f, const H5AC_class_t *type, haddr_t addr,
cache->diagnostics[slot->type->id].nhits++;
thing = slot->thing;
slot->type = NULL;
- slot->addr = HADDR_UNDEF;
+ slot->addr = HADDR_UNDEF;
slot->thing = NULL;
} else if (slot->type && H5F_addr_eq(slot->addr, addr)) {