summaryrefslogtreecommitdiffstats
path: root/src/H5Gint.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2009-07-30 02:55:33 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2009-07-30 02:55:33 (GMT)
commit238950487f6348544b64fda3143479c6ab589fde (patch)
treee2985b88137935511547333d9a9c2c25d74c57e5 /src/H5Gint.c
parent7c22743e8eaa5e5d2ffc8b0db7518ed6c5be40ee (diff)
downloadhdf5-238950487f6348544b64fda3143479c6ab589fde.zip
hdf5-238950487f6348544b64fda3143479c6ab589fde.tar.gz
hdf5-238950487f6348544b64fda3143479c6ab589fde.tar.bz2
[svn-r17270] Description:
Bring r17265:17269 from trunk to revise_chunks branch Tested on FreeBSD/32 6.3 (duty) (h5committest not required on this branch)
Diffstat (limited to 'src/H5Gint.c')
-rw-r--r--src/H5Gint.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/H5Gint.c b/src/H5Gint.c
index 61598c2..0dc9c03 100644
--- a/src/H5Gint.c
+++ b/src/H5Gint.c
@@ -94,9 +94,16 @@ DESCRIPTION
static herr_t
H5G_init_int_interface(void)
{
- FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5G_init_int_interface)
+ herr_t ret_value = SUCCEED; /* Return value */
- FUNC_LEAVE_NOAPI(H5G_init())
+ FUNC_ENTER_NOAPI(H5G_init_int_interface, FAIL)
+
+ /* Funnel all work to H5G_init() */
+ if(H5G_init() < 0)
+ HGOTO_ERROR(H5E_FUNC, H5E_CANTINIT, FAIL, "interface initialization failed")
+
+done:
+ FUNC_LEAVE_NOAPI(ret_value)
} /* H5G_init_int_interface() */