diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2011-10-14 13:28:23 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2011-10-14 13:28:23 (GMT) |
commit | 9fa5dca9c2ebc2c3cb25ded77d37b9c666e11fbd (patch) | |
tree | 9e1f3636dc707bf0a3ef217db98cebde4efefb5c /test/h5test.c | |
parent | 56960ac85c40c3b08989ff776d2a69c6e79a6f09 (diff) | |
download | hdf5-9fa5dca9c2ebc2c3cb25ded77d37b9c666e11fbd.zip hdf5-9fa5dca9c2ebc2c3cb25ded77d37b9c666e11fbd.tar.gz hdf5-9fa5dca9c2ebc2c3cb25ded77d37b9c666e11fbd.tar.bz2 |
[svn-r21561] Description:
Correct error in loading local heap prefix & data block from the file.
Sometimes the local heap's prefix could be loaded before the data block (e.g.
using H5Oget_info), but then when the data block was loaded later, the free
list information would get lost, causing the heap's size to grow larger than
necessary. This is Jira bug #HDFFV-7767
Tested on:
Mac OS X/32 10.7.2 (amazon) w/debug
(h5committest coming up)
Diffstat (limited to 'test/h5test.c')
-rw-r--r-- | test/h5test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/h5test.c b/test/h5test.c index f8c3d9c..e5e798e 100644 --- a/test/h5test.c +++ b/test/h5test.c @@ -1116,7 +1116,7 @@ getenv_all(MPI_Comm comm, int root, const char* name) *------------------------------------------------------------------------- */ hid_t -h5_make_local_copy(char *origfilename, char *local_copy_name) +h5_make_local_copy(const char *origfilename, const char *local_copy_name) { int fd_old = (-1), fd_new = (-1); /* File descriptors for copying data */ ssize_t nread; /* Number of bytes read in */ |