summaryrefslogtreecommitdiffstats
path: root/src/H5Oalloc.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-05-14 01:58:44 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-05-14 01:58:44 (GMT)
commitb3ebfdd526cbce840a696df2ab544653bab5ca55 (patch)
treecbb8049b7b4f9c1e531b9d20a0f80913a9169358 /src/H5Oalloc.c
parentc9e13d9dae6a2061c4efbc2c0684d670b0f49944 (diff)
downloadhdf5-b3ebfdd526cbce840a696df2ab544653bab5ca55.zip
hdf5-b3ebfdd526cbce840a696df2ab544653bab5ca55.tar.gz
hdf5-b3ebfdd526cbce840a696df2ab544653bab5ca55.tar.bz2
[svn-r18801] Description:
Simplify testing routines a bit more by dropping unused 'dirty_insert' parameters. Also, protect global heap and resize it in the cache when extending one. Tested on: Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode Mac OS X/32 10.6.3 (amazon) in debug mode Mac OS X/32 10.6.3 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode
Diffstat (limited to 'src/H5Oalloc.c')
-rw-r--r--src/H5Oalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Oalloc.c b/src/H5Oalloc.c
index e349e5c..71de295 100644
--- a/src/H5Oalloc.c
+++ b/src/H5Oalloc.c
@@ -703,7 +703,7 @@ H5O_alloc_extend_chunk(H5F_t *f, hid_t dxpl_id, H5O_t *oh, unsigned chunkno,
/* Resize the chunk in the cache */
if(H5O_chunk_resize(oh, chk_proxy) < 0)
- HDONE_ERROR(H5E_OHDR, H5E_CANTRESIZE, FAIL, "unable to resize object header chunk")
+ HGOTO_ERROR(H5E_OHDR, H5E_CANTRESIZE, FAIL, "unable to resize object header chunk")
/* Set return value */
*msg_idx = (unsigned)extend_msg;