summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-12-10 16:06:37 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-12-10 16:06:37 (GMT)
commite71e53c743caabe34a894f250fde4e2b7526c33e (patch)
treecd2ee69df91429daafdfd27ad32b8daad26f1b19
parent31431be37492b0446c048401bcb9512ae23ef8f4 (diff)
downloadhdf5-e71e53c743caabe34a894f250fde4e2b7526c33e.zip
hdf5-e71e53c743caabe34a894f250fde4e2b7526c33e.tar.gz
hdf5-e71e53c743caabe34a894f250fde4e2b7526c33e.tar.bz2
[svn-r7920] Purpose:
Bug fix Description: Correct a couple of minor problems with 1.6 compat mode. Platforms tested: FreeBSD 4.9 (sleipnir) not tested in h5committest
-rw-r--r--src/H5E.c4
-rw-r--r--test/testfiles/err_compat_12
2 files changed, 3 insertions, 3 deletions
diff --git a/src/H5E.c b/src/H5E.c
index 70bafb4..9f955f0 100644
--- a/src/H5E.c
+++ b/src/H5E.c
@@ -766,7 +766,7 @@ H5Eget_major(H5E_major_t maj)
char *msg_str;
char *ret_value = NULL;
- FUNC_ENTER_API(H5Eget_major)
+ FUNC_ENTER_API_NOCLEAR(H5Eget_major,NULL)
/* Get the message object */
if((msg = H5I_object_verify(maj, H5I_ERROR_MSG))==NULL)
@@ -816,7 +816,7 @@ H5Eget_minor(H5E_minor_t min)
char *msg_str;
char *ret_value = NULL;
- FUNC_ENTER_API(H5Eget_minor)
+ FUNC_ENTER_API_NOCLEAR(H5Eget_minor,NULL)
/* Get the message object */
if((msg = H5I_object_verify(min, H5I_ERROR_MSG))==NULL)
diff --git a/test/testfiles/err_compat_1 b/test/testfiles/err_compat_1
index 3a14838..8c5afbf 100644
--- a/test/testfiles/err_compat_1
+++ b/test/testfiles/err_compat_1
@@ -2,7 +2,7 @@
Expected output for err_compat
#############################
Testing error API based on data I/O All error API tests passed.
- This program tests the Error API compatible with HDF5 v1.6. There're supposed to be some error messages
+ This program tests the Error API compatible with HDF5 vversion (number) There're supposed to be some error messages
********* Print error stack in HDF5 default way *********
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
#000: (file name) line (number) in main(): Error test failed