diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2008-10-02 18:49:09 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2008-10-02 18:49:09 (GMT) |
commit | 4f7970f9f078942bcb7c1e92f98ed798ccc55025 (patch) | |
tree | d67617b545037294e6a9d62913dbf0fb4f9012ad /src/H5EAdbg.c | |
parent | 8e9bb8af7ccf58e7665a0af4a99c946ad8cb92b2 (diff) | |
download | hdf5-4f7970f9f078942bcb7c1e92f98ed798ccc55025.zip hdf5-4f7970f9f078942bcb7c1e92f98ed798ccc55025.tar.gz hdf5-4f7970f9f078942bcb7c1e92f98ed798ccc55025.tar.bz2 |
[svn-r15755] Description:
Fix some minor problems w/extensible array super blocks and extend
tests.
Tested on:
Mac OS X/32 10.5.5 (amazon) in debug mode
Mac OS X/32 10.5.5 (amazon) w/C++ & FORTRAN, w/threadsafe,
in production mode
FreeBSD/32 6.3 (duty) in debug mode
FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
in debug mode
Linux/64-amd64 2.6 (smirom) w/Intel compilers w/default API=1.6.x,
w/C++ & FORTRAN, in production mode
Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
w/szip filter, in production mode
Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
in production mode
Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
Diffstat (limited to 'src/H5EAdbg.c')
-rw-r--r-- | src/H5EAdbg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5EAdbg.c b/src/H5EAdbg.c index 7b2d839..47fcbd0 100644 --- a/src/H5EAdbg.c +++ b/src/H5EAdbg.c @@ -313,9 +313,6 @@ H5EA__sblock_debug(H5F_t *f, hid_t dxpl_id, haddr_t addr, FILE *stream, int inde if(NULL == (hdr = (H5EA_hdr_t *)H5AC_protect(f, dxpl_id, H5AC_EARRAY_HDR, hdr_addr, cls, NULL, H5AC_READ))) H5E_THROW(H5E_CANTPROTECT, "unable to load extensible array header") - /* Sanity check */ - HDassert(H5F_addr_eq(hdr->idx_blk_addr, addr)); - /* Protect super block */ if(NULL == (sblock = H5EA__sblock_protect(hdr, dxpl_id, addr, sblk_idx, H5AC_READ))) H5E_THROW(H5E_CANTPROTECT, "unable to protect extensible array super block, address = %llu", (unsigned long_long)addr) @@ -334,6 +331,9 @@ H5EA__sblock_debug(H5F_t *f, hid_t dxpl_id, haddr_t addr, FILE *stream, int inde HDfprintf(stream, "%*s%-*s %Zu\n", indent, "", fwidth, "# of data block addresses in super block:", sblock->ndblks); + HDfprintf(stream, "%*s%-*s %Zu\n", indent, "", fwidth, + "# of elements in data blocks from this super block:", + sblock->dblk_nelmts); /* Check if there are any data block addresses in super block */ if(sblock->ndblks > 0) { |