diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2005-09-02 03:11:25 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2005-09-02 03:11:25 (GMT) |
commit | 3eea9abb5fb030d87519a3b9743f6a467e4a830a (patch) | |
tree | ddf316fe12e996e2e4ea537f53d4e3e4463858e2 /src | |
parent | 90103afad6237862caa8fe02e80c57d9515e2b30 (diff) | |
download | hdf5-3eea9abb5fb030d87519a3b9743f6a467e4a830a.zip hdf5-3eea9abb5fb030d87519a3b9743f6a467e4a830a.tar.gz hdf5-3eea9abb5fb030d87519a3b9743f6a467e4a830a.tar.bz2 |
[svn-r11338] Purpose:
Bug fix
Description:
Check in fix that John found for bug in H5FD_extend() code - adjust
beginning as well as size of free block when "extending" another block of
space in the file.
Platforms tested:
FreeBsd 4.11 (sleipnir)
Too minor to require h5committest
Diffstat (limited to 'src')
-rw-r--r-- | src/H5FD.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2803,8 +2803,10 @@ H5FD_extend(H5FD_t *file, H5FD_mem_t type, haddr_t addr, hsize_t size, hsize_t e /* Free the memory for the used block */ H5FL_FREE(H5FD_free_t, curr); } /* end if */ - else + else { + curr->addr += extra_requested; curr->size -= extra_requested; + } /* end else */ /* Leave now */ break; |