[svn-r10188] Purpose:

Bug fix

Description:
    Correct the native record size.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Solaris 2.9 (shanti)
This commit is contained in:
Quincey Koziol 2005-03-10 22:43:10 -05:00
parent 45a16682e2
commit 331e8bf9ae

View File

@ -39,7 +39,7 @@ static herr_t H5BT_debug(FILE *stream, const H5F_t *f, hid_t dxpl_id,
/* Package variables */
const H5B2_class_t H5B2_BLKTRK[1]={{ /* B-tree class information */
H5B2_BLK_TRK_ID, /* Type of B-tree */
sizeof(hsize_t), /* Size of native key */
sizeof(H5BT_blk_info_t), /* Size of native key */
H5BT_store, /* Record storage callback */
H5BT_retrieve, /* Record retrieval callback */
H5BT_compare, /* Record comparison callback */
@ -70,7 +70,7 @@ H5BT_store(void *nrecord, const void *udata)
{
FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5BT_store)
*(H5BT_blk_info_t *)nrecord=*(const H5BT_blk_info_t *)udata;
*(H5BT_blk_info_t *)nrecord = *(const H5BT_blk_info_t *)udata;
FUNC_LEAVE_NOAPI(SUCCEED);
} /* H5BT_store() */
@ -97,7 +97,7 @@ H5BT_retrieve(void *udata, const void *nrecord)
{
FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5BT_retrieve)
*(H5BT_blk_info_t *)udata=*(const H5BT_blk_info_t *)nrecord;
*(H5BT_blk_info_t *)udata = *(const H5BT_blk_info_t *)nrecord;
FUNC_LEAVE_NOAPI(SUCCEED);
} /* H5BT_retrieve() */