diff options
author | Elena Pourmal <epourmal@hdfgroup.org> | 2005-09-17 22:37:48 (GMT) |
---|---|---|
committer | Elena Pourmal <epourmal@hdfgroup.org> | 2005-09-17 22:37:48 (GMT) |
commit | 2540abc1c93d7059bfee696ffcaa577fd628d174 (patch) | |
tree | e7732d2559b7f5e33e647a85fee61f9fc66bd13d | |
parent | 9a8933bb694c57a31e685c57e706a4144eb6b5a3 (diff) | |
download | hdf5-2540abc1c93d7059bfee696ffcaa577fd628d174.zip hdf5-2540abc1c93d7059bfee696ffcaa577fd628d174.tar.gz hdf5-2540abc1c93d7059bfee696ffcaa577fd628d174.tar.bz2 |
[svn-r11426] Purpose: VMS port / bug fix
Description:
On VMS dsets test failed screaming about corrupted stack.
Debugging didn't show any obvious problems. Careful examination
of compilation warning messages (something like "function is used as
data in dsets") made me to search for duplicated names.
It turned out that two variables H5Z_SET_LOCAL and H5Z_CAN_APPLY
were confused with H5Z_set_local and H5Z_can_apply functions from
H5Z.c file.
Solution:
Changed variable names to H5Z_SET_LOCAL_TEST and H5Z_CAN_APPLY_TEST.
Platforms tested: Alpha VMS, heping; minor change
Misc. update:
-rw-r--r-- | test/dsets.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/dsets.c b/test/dsets.c index 197202b..b4e725b 100644 --- a/test/dsets.c +++ b/test/dsets.c @@ -4757,7 +4757,7 @@ test_types(hid_t file) } /* This message derives from H5Z */ -const H5Z_class_t H5Z_CAN_APPLY[1] = {{ +const H5Z_class_t H5Z_CAN_APPLY_TEST[1] = {{ H5Z_CLASS_T_VERS, H5Z_FILTER_BOGUS, /* Filter id number */ 1, 1, @@ -4806,7 +4806,7 @@ test_can_apply(hid_t file) printf(" Line %d: Can't set chunk sizes\n",__LINE__); goto error; } /* end if */ - if(H5Zregister (H5Z_CAN_APPLY)<0) { + if(H5Zregister (H5Z_CAN_APPLY_TEST)<0) { H5_FAILED(); printf(" Line %d: Can't register 'can apply' filter\n",__LINE__); goto error; @@ -5117,7 +5117,7 @@ error: /* This message derives from H5Z */ -const H5Z_class_t H5Z_SET_LOCAL[1] = {{ +const H5Z_class_t H5Z_SET_LOCAL_TEST[1] = {{ H5Z_CLASS_T_VERS, H5Z_FILTER_BOGUS2, /* Filter id number */ 1, 1, @@ -5186,7 +5186,7 @@ test_set_local(hid_t fapl) printf(" Line %d: Can't set chunk sizes\n",__LINE__); goto error; } /* end if */ - if(H5Zregister (H5Z_SET_LOCAL)<0) { + if(H5Zregister (H5Z_SET_LOCAL_TEST)<0) { H5_FAILED(); printf(" Line %d: Can't register 'set local' filter\n",__LINE__); goto error; |