summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2010-10-14 00:00:30 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2010-10-14 00:00:30 (GMT)
commitae3a33fc9c5d50d679565e5d80cee52e75712f93 (patch)
tree00bd9b0f54bc450d3009b8e7fafa20b545eef79d /src
parentffbf2952041745ea81cc0249c2ca0cb28cfc1faf (diff)
downloadhdf5-ae3a33fc9c5d50d679565e5d80cee52e75712f93.zip
hdf5-ae3a33fc9c5d50d679565e5d80cee52e75712f93.tar.gz
hdf5-ae3a33fc9c5d50d679565e5d80cee52e75712f93.tar.bz2
[svn-r19594] Bug fix: H5D_create should return NULL on failure but one of return code was
FAILED. Rejected by the xlc compiler. Solution: changed it to reutrn NULL. Tested: UP make passed. serial passed but some parallel tests failed. The parallel tests failed were not related to this fix.
Diffstat (limited to 'src')
-rw-r--r--src/H5Dint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Dint.c b/src/H5Dint.c
index 8782f58..947c0fe 100644
--- a/src/H5Dint.c
+++ b/src/H5Dint.c
@@ -1064,7 +1064,7 @@ done:
HDONE_ERROR(H5E_DATASET, H5E_CLOSEERROR, NULL, "unable to release datatype")
if(H5F_addr_defined(new_dset->oloc.addr)) {
if(H5O_dec_rc_by_loc(&(new_dset->oloc), dxpl_id) < 0)
- HDONE_ERROR(H5E_DATASET, H5E_CANTDEC, FAIL, "unable to decrement refcount on newly created object")
+ HDONE_ERROR(H5E_DATASET, H5E_CANTDEC, NULL, "unable to decrement refcount on newly created object")
if(H5O_close(&(new_dset->oloc)) < 0)
HDONE_ERROR(H5E_DATASET, H5E_CLOSEERROR, NULL, "unable to release object header")
if(file) {