summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2009-05-21 20:15:08 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2009-05-21 20:15:08 (GMT)
commite3d0563a73d203b23df569cd4d0ce4e0596c52f2 (patch)
treec2d12855489e0fe303a0f979985941c66c484575 /src
parent55fbd675c64c387609b7f7d7d200766348287774 (diff)
downloadhdf5-e3d0563a73d203b23df569cd4d0ce4e0596c52f2.zip
hdf5-e3d0563a73d203b23df569cd4d0ce4e0596c52f2.tar.gz
hdf5-e3d0563a73d203b23df569cd4d0ce4e0596c52f2.tar.bz2
[svn-r16978] Description:
Bring r16976:16977 from trunk back to revise_chunks branch. Tested on: Mac OS X/32 10.5.7 (amazon) (h5committest not required on this branch)
Diffstat (limited to 'src')
-rw-r--r--src/H5EA.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5EA.c b/src/H5EA.c
index e35738d..2c259e6 100644
--- a/src/H5EA.c
+++ b/src/H5EA.c
@@ -374,7 +374,7 @@ HDfprintf(stderr, "%s: Index block address is: %a\n", FUNC, hdr->idx_blk_addr);
if(idx < hdr->cparam.idx_blk_elmts) {
/* Set element in index block */
HDmemcpy(((uint8_t *)iblock->elmts) + (hdr->cparam.cls->nat_elmt_size * idx), elmt, hdr->cparam.cls->nat_elmt_size);
- dblock_cache_flags |= H5AC__DIRTIED_FLAG;
+ iblock_cache_flags |= H5AC__DIRTIED_FLAG;
} /* end if */
else {
unsigned sblk_idx; /* Which superblock does this index fall in? */
@@ -418,7 +418,7 @@ HDfprintf(stderr, "%s: dblk_idx = %u, iblock->ndblk_addrs = %Zu\n", FUNC, dblk_i
/* Set data block address in index block */
iblock->dblk_addrs[dblk_idx] = dblk_addr;
- dblock_cache_flags |= H5AC__DIRTIED_FLAG;
+ iblock_cache_flags |= H5AC__DIRTIED_FLAG;
} /* end if */
/* Protect data block */
@@ -453,7 +453,7 @@ HDfprintf(stderr, "%s: New super block address is: %a\n", FUNC, sblk_addr);
/* Set super block address in index block */
iblock->sblk_addrs[sblk_off] = sblk_addr;
- dblock_cache_flags |= H5AC__DIRTIED_FLAG;
+ iblock_cache_flags |= H5AC__DIRTIED_FLAG;
} /* end if */
/* Protect super block */