diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2009-01-27 13:49:16 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2009-01-27 13:49:16 (GMT) |
commit | f7ae23e639951e27b1b02d4ce1ba65a8b77963d2 (patch) | |
tree | 217ace0904a2e11004a33aeadddbbb07725950ec /src/H5Doh.c | |
parent | 0894356a3c6e17b00c7911d8199b64eefca7aa3a (diff) | |
download | hdf5-f7ae23e639951e27b1b02d4ce1ba65a8b77963d2.zip hdf5-f7ae23e639951e27b1b02d4ce1ba65a8b77963d2.tar.gz hdf5-f7ae23e639951e27b1b02d4ce1ba65a8b77963d2.tar.bz2 |
[svn-r16353] Description:
Refactor internal layout information, making it easier to add another
type of chunk index.
Tested on:
FreeBSD/32 6.3 (duty) in debug mode
FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
Linux/32 2.6 (jam) 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
Mac OS X/32 10.5.6 (amazon) in debug mode
Mac OS X/32 10.5.6 (amazon) w/C++ & FORTRAN, w/threadsafe,
in production mode
Diffstat (limited to 'src/H5Doh.c')
-rw-r--r-- | src/H5Doh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Doh.c b/src/H5Doh.c index 88ab971..be4c5bd 100644 --- a/src/H5Doh.c +++ b/src/H5Doh.c @@ -376,7 +376,7 @@ H5O_dset_bh_info(H5F_t *f, hid_t dxpl_id, H5O_t *oh, H5_ih_info_t *bh_info) HGOTO_ERROR(H5E_OHDR, H5E_CANTGET, FAIL, "can't find LAYOUT message") /* Check for chunked dataset storage */ - if((layout.type == H5D_CHUNKED) && H5F_addr_defined(layout.u.chunk.addr)) + if(layout.type == H5D_CHUNKED && H5D_chunk_is_space_alloc(&layout)) if(H5D_chunk_bh_info(f, dxpl_id, &layout, &(bh_info->index_size)) < 0) HGOTO_ERROR(H5E_OHDR, H5E_CANTGET, FAIL, "can't determine chunked dataset btree info") |