summaryrefslogtreecommitdiffstats
path: root/src/H5Einit.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2015-08-31 21:43:02 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2015-08-31 21:43:02 (GMT)
commita90e09889d575b26648f642d3bc85639df165dc9 (patch)
treea8816fc699d94dca11a33dec5df94349f6e56e32 /src/H5Einit.h
parent81ca9e4c79a125cfcea9e426e1e91d94cdf6a2aa (diff)
downloadhdf5-a90e09889d575b26648f642d3bc85639df165dc9.zip
hdf5-a90e09889d575b26648f642d3bc85639df165dc9.tar.gz
hdf5-a90e09889d575b26648f642d3bc85639df165dc9.tar.bz2
[svn-r27631] Description:
Make error values from hyperslab operations clearer. Tested on: MacOSX/64 10.10.5 (amazon) w/serial & parallel (Too minor to require h5committest)
Diffstat (limited to 'src/H5Einit.h')
-rw-r--r--src/H5Einit.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/H5Einit.h b/src/H5Einit.h
index 9724748..35049b2 100644
--- a/src/H5Einit.h
+++ b/src/H5Einit.h
@@ -740,6 +740,11 @@ if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't compare objects"))==NULL)
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
if((H5E_CANTCOMPARE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
+assert(H5E_CANTAPPEND_g==(-1));
+if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't append object"))==NULL)
+ HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
+if((H5E_CANTAPPEND_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
+ HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
/* Argument errors */
assert(H5E_UNINITIALIZED_g==(-1));