summaryrefslogtreecommitdiffstats
path: root/test/h5test.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2011-10-14 17:42:22 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2011-10-14 17:42:22 (GMT)
commitfe325096738d36828011ce02a0fc9b88ef3a660c (patch)
tree67d6617011d0e5b3f7e736f5838c4143ee2fe4f0 /test/h5test.c
parent3feb0d880d960f0da89047914cd4358f16b92144 (diff)
downloadhdf5-fe325096738d36828011ce02a0fc9b88ef3a660c.zip
hdf5-fe325096738d36828011ce02a0fc9b88ef3a660c.tar.gz
hdf5-fe325096738d36828011ce02a0fc9b88ef3a660c.tar.bz2
[svn-r21566] Description:
Bring r21561 from trunk back to 1.8 branch: 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.c2
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 */