diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-12-18 17:52:43 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-12-18 17:52:43 (GMT) |
commit | ddbc06fce64bc49ff6b3e83da3ff74d08251fc2c (patch) | |
tree | 2fd1ab62b539b7c05a2adf461006e1c07d6f3535 /src/H5HFtiny.c | |
parent | 9236c9a148aaf206294be0554cf78e7ab769bd51 (diff) | |
download | hdf5-ddbc06fce64bc49ff6b3e83da3ff74d08251fc2c.zip hdf5-ddbc06fce64bc49ff6b3e83da3ff74d08251fc2c.tar.gz hdf5-ddbc06fce64bc49ff6b3e83da3ff74d08251fc2c.tar.bz2 |
[svn-r13067] Description:
Add [quite] limited ability to update (ie. write) data for objects in
fractal heap. Limited to just updating objects in managed heap blocks (i.e.
not 'tiny' or 'huge' objects) and must be updated with data of the same length
as the object in the heap. Updating objects in compressed heaps does work
though [as long as the data isn't 'tiny' or 'huge'].
Needed for changing the data value or the name of an attribute that is
stored in dense or shared storage.
Tested on:
Linux/32 2.6 (chicago)
Linux/64 2.6 (chicago2)
Diffstat (limited to 'src/H5HFtiny.c')
-rw-r--r-- | src/H5HFtiny.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5HFtiny.c b/src/H5HFtiny.c index e1ce68c..a1458a5 100644 --- a/src/H5HFtiny.c +++ b/src/H5HFtiny.c @@ -322,7 +322,7 @@ H5HF_tiny_read(H5HF_hdr_t *hdr, const uint8_t *id, void *obj) HDassert(obj); /* Call the internal 'op' routine */ - if(H5HF_tiny_op_real(hdr, id, H5HF_op_memcpy, obj) < 0) + if(H5HF_tiny_op_real(hdr, id, H5HF_op_read, obj) < 0) HGOTO_ERROR(H5E_HEAP, H5E_CANTOPERATE, FAIL, "unable to operate on heap object") done: |