summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2013-08-26 17:11:26 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2013-08-26 17:11:26 (GMT)
commit0e548fb251e7f3f685d6fda8cc46ee46764ef4af (patch)
treecc21b16a8b8babf9a700d6fa00664b167801f7d4 /src
parent8194f34ef79a58dc5e57b374873be4e50ad7ad7b (diff)
downloadhdf5-0e548fb251e7f3f685d6fda8cc46ee46764ef4af.zip
hdf5-0e548fb251e7f3f685d6fda8cc46ee46764ef4af.tar.gz
hdf5-0e548fb251e7f3f685d6fda8cc46ee46764ef4af.tar.bz2
[svn-r24074] I took out the soft conversion functions H5T__conv_i_f and H5T__conv_f_i for OpenVMS because
they have problem to convert between integers and floating numbers. I also commented out the test case in dt_arith.c for OpenVMS. Tested on jam - simple change.
Diffstat (limited to 'src')
-rw-r--r--src/H5T.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/H5T.c b/src/H5T.c
index 3b4719c..c39b532 100644
--- a/src/H5T.c
+++ b/src/H5T.c
@@ -1050,9 +1050,12 @@ H5T_init_interface(void)
status = 0;
status |= H5T_register(H5T_PERS_SOFT, "i_i", fixedpt, fixedpt, H5T__conv_i_i, H5AC_dxpl_id, FALSE);
- status |= H5T_register(H5T_PERS_SOFT, "i_f", fixedpt, floatpt, H5T__conv_i_f, H5AC_dxpl_id, FALSE);
status |= H5T_register(H5T_PERS_SOFT, "f_f", floatpt, floatpt, H5T__conv_f_f, H5AC_dxpl_id, FALSE);
+#ifndef H5_VMS
+ /* Disable these two conversion function because OpenVMS has trouble with them - SLU 2013/8/26 */
+ status |= H5T_register(H5T_PERS_SOFT, "i_f", fixedpt, floatpt, H5T__conv_i_f, H5AC_dxpl_id, FALSE);
status |= H5T_register(H5T_PERS_SOFT, "f_i", floatpt, fixedpt, H5T__conv_f_i, H5AC_dxpl_id, FALSE);
+#endif
status |= H5T_register(H5T_PERS_SOFT, "s_s", string, string, H5T__conv_s_s, H5AC_dxpl_id, FALSE);
status |= H5T_register(H5T_PERS_SOFT, "b_b", bitfield, bitfield, H5T__conv_b_b, H5AC_dxpl_id, FALSE);
status |= H5T_register(H5T_PERS_SOFT, "ibo", fixedpt, fixedpt, H5T__conv_order, H5AC_dxpl_id, FALSE);