diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2003-09-10 20:06:10 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2003-09-10 20:06:10 (GMT) |
commit | 1f5e8c2e63a4f3cf34d8f187adc24133caa2d25d (patch) | |
tree | f9a33f8b46169840102c80b62a53361ee5ce71d0 /src/H5HLdbg.c | |
parent | 6a9188f0cb0ab63e858fee73c5261bbab4376c47 (diff) | |
download | hdf5-1f5e8c2e63a4f3cf34d8f187adc24133caa2d25d.zip hdf5-1f5e8c2e63a4f3cf34d8f187adc24133caa2d25d.tar.gz hdf5-1f5e8c2e63a4f3cf34d8f187adc24133caa2d25d.tar.bz2 |
[svn-r7460] Purpose:
Update
Description:
Added extra parameter to the H5AC_protect() function that indicates
if the cache being asked for is going to be written to or just read
from. Those AC_protect calls that were H5AC_find calls are now
read-only. The rest are writes.
Platforms tested:
Linux (h5committest not needed due to size and small impact)
Misc. update:
Diffstat (limited to 'src/H5HLdbg.c')
-rw-r--r-- | src/H5HLdbg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5HLdbg.c b/src/H5HLdbg.c index 0277044..adc98fc 100644 --- a/src/H5HLdbg.c +++ b/src/H5HLdbg.c @@ -71,7 +71,7 @@ H5HL_debug(H5F_t *f, hid_t dxpl_id, haddr_t addr, FILE * stream, int indent, int assert(indent >= 0); assert(fwidth >= 0); - if (NULL == (h = H5AC_protect(f, dxpl_id, H5AC_LHEAP, addr, NULL, NULL))) + if (NULL == (h = H5AC_protect(f, dxpl_id, H5AC_LHEAP, addr, NULL, NULL, H5AC_READ))) HGOTO_ERROR(H5E_HEAP, H5E_CANTLOAD, FAIL, "unable to load heap"); fprintf(stream, "%*sLocal Heap...\n", indent, ""); |