summaryrefslogtreecommitdiffstats
path: root/src/H5FS.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-08-21 14:48:21 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-08-21 14:48:21 (GMT)
commitfc409b2cd0ef53cb6dea21a2f3b8398e9f4f804e (patch)
tree89104f17274961049f19b3c1af5d037dbcc4b0e4 /src/H5FS.c
parent16897c2d2a62bd4e77b26f301cfc5e1a4e721ce8 (diff)
downloadhdf5-fc409b2cd0ef53cb6dea21a2f3b8398e9f4f804e.zip
hdf5-fc409b2cd0ef53cb6dea21a2f3b8398e9f4f804e.tar.gz
hdf5-fc409b2cd0ef53cb6dea21a2f3b8398e9f4f804e.tar.bz2
[svn-r12601] Description:
Fix bug in deserializing sections from disk which would recompute the sections' serialized size while the sections were being deserialized, thoroughly baffling the algorithm. Tested on: FreeBSD/32 4.11 (sleipnir) Linux/32 2.4 (heping) Linux/64 2.4 (mir) Solaris/64 2.9 (shanti)
Diffstat (limited to 'src/H5FS.c')
-rw-r--r--src/H5FS.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/H5FS.c b/src/H5FS.c
index cf6ce8e..673c6ed 100644
--- a/src/H5FS.c
+++ b/src/H5FS.c
@@ -182,6 +182,12 @@ HDfprintf(stderr, "%s: Opening free space manager\n", FUNC);
/* Protect the free space header */
if(NULL == (fspace = H5AC_protect(f, dxpl_id, H5AC_FSPACE_HDR, fs_addr, &fs_prot, NULL, H5AC_WRITE)))
HGOTO_ERROR(H5E_FSPACE, H5E_CANTPROTECT, NULL, "unable to load free space header")
+#ifdef QAK
+HDfprintf(stderr, "%s: fspace->sect_addr = %a\n", FUNC, fspace->sect_addr);
+HDfprintf(stderr, "%s: fspace->sect_size = %Hu\n", FUNC, fspace->sect_size);
+HDfprintf(stderr, "%s: fspace->alloc_sect_size = %Hu\n", FUNC, fspace->alloc_sect_size);
+HDfprintf(stderr, "%s: fspace->sinfo = %p\n", FUNC, fspace->sinfo);
+#endif /* QAK */
/* Check the free space header's status in the metadata cache */
if(H5AC_get_entry_status(f, fs_addr, &fspace_status) < 0)