From 63f00c56866c2a80f89da65db1d7f3368210ec83 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Fri, 20 Jul 2007 17:24:13 -0500 Subject: [svn-r13991] Description: Correct error in H5Gcreate() where using a non-zero local heap size hint would overwrite the default group creation property list with the non-zero size hint given, affecting all future groups created. Tested on: FreeBSD/32 6.2 (duty) w/check-vfd --- src/H5Gdeprec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/H5Gdeprec.c b/src/H5Gdeprec.c index 69779ff..b94a365 100644 --- a/src/H5Gdeprec.c +++ b/src/H5Gdeprec.c @@ -180,8 +180,8 @@ H5Gcreate(hid_t loc_id, const char *name, size_t size_hint) if((tmp_gcpl = H5P_copy_plist(gc_plist)) < 0) HGOTO_ERROR(H5E_SYM, H5E_CANTGET, FAIL, "unable to copy the creation property list") - /* Get the copy of the property list */ - if(NULL == (gc_plist = H5I_object(H5P_GROUP_CREATE_DEFAULT))) + /* Get pointer to the copied property list */ + if(NULL == (gc_plist = H5I_object(tmp_gcpl))) HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a property list") /* Get the group info property */ -- cgit v0.12