mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[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:
This commit is contained in:
parent
9a8933bb69
commit
2540abc1c9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user