mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-13 16:47:58 +08:00
[svn-r5809] Purpose:
Bug fix Description: Deleting objects from a global heap was incorrectly setting the free space in the heap chunk. Solution: Encode correct amount of free space. Platforms tested: IRIX64 6.5 (modi4)
This commit is contained in:
parent
ceba60418c
commit
4be014fc14
@ -881,7 +881,7 @@ H5HG_remove (H5F_t *f, H5HG_t *hobj)
|
||||
UINT16ENCODE(p, 0); /*id*/
|
||||
UINT16ENCODE(p, 0); /*nrefs*/
|
||||
UINT32ENCODE(p, 0); /*reserved*/
|
||||
H5F_ENCODE_LENGTH (f, p, need);
|
||||
H5F_ENCODE_LENGTH (f, p, heap->obj[0].size);
|
||||
}
|
||||
HDmemset (heap->obj+hobj->idx, 0, sizeof(H5HG_obj_t));
|
||||
heap->dirty = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user