diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2010-08-22 05:01:04 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2010-08-22 05:01:04 (GMT) |
commit | bec868b005e3501b99439e7d029061424cf1b76c (patch) | |
tree | eddd8673cb4eb51dc650190066888024ced8adc6 /src/H5Faccum.c | |
parent | 0b00c26b027b2d2afd3112d24573ceb767fc8376 (diff) | |
download | hdf5-bec868b005e3501b99439e7d029061424cf1b76c.zip hdf5-bec868b005e3501b99439e7d029061424cf1b76c.tar.gz hdf5-bec868b005e3501b99439e7d029061424cf1b76c.tar.bz2 |
[svn-r19277] Description:
Bring r19276 from trunk to 1.8 branch:
Correct calculation of end of dirty information in metadata accumulator
Tested on:
FreeBSD/32 6.3 (duty) in debug mode
(h5committested on trunk)
Diffstat (limited to 'src/H5Faccum.c')
-rw-r--r-- | src/H5Faccum.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Faccum.c b/src/H5Faccum.c index 975a6e8..f74925a 100644 --- a/src/H5Faccum.c +++ b/src/H5Faccum.c @@ -492,7 +492,7 @@ H5F_accum_write(const H5F_t *f, hid_t dxpl_id, H5FD_mem_t type, haddr_t addr, /* Adjust the dirty region and mark accumulator dirty */ if(f->shared->accum.dirty) { - size_t curr_dirty_end = old_offset + f->shared->accum.dirty_off + f->shared->accum.dirty_len; + size_t curr_dirty_end = add_size + f->shared->accum.dirty_off + f->shared->accum.dirty_len; f->shared->accum.dirty_off = 0; if(size <= curr_dirty_end) |