diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2004-10-05 14:31:14 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2004-10-05 14:31:14 (GMT) |
commit | 7ba45c05b3e9345bc8d77a5d205bb41086b78f1e (patch) | |
tree | e8b2ff9381a5c47415eee3941dc66ff6907d8354 /tools/lib/h5tools.c | |
parent | 71737e02ec70bbfd85ae4eb3f9a16d31b0f9789f (diff) | |
download | hdf5-7ba45c05b3e9345bc8d77a5d205bb41086b78f1e.zip hdf5-7ba45c05b3e9345bc8d77a5d205bb41086b78f1e.tar.gz hdf5-7ba45c05b3e9345bc8d77a5d205bb41086b78f1e.tar.bz2 |
[svn-r9364]
Purpose: change feature
Description: Back up support bitfield and time datatypes in H5Tget_native_type.Leave it to future support. Let it return "not supported" error message for
now.
Platforms tested: h5committest and fuss.
Misc. update: RELEASE.txt
Diffstat (limited to 'tools/lib/h5tools.c')
-rw-r--r-- | tools/lib/h5tools.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/tools/lib/h5tools.c b/tools/lib/h5tools.c index d25e9bb..d3a2d7a 100644 --- a/tools/lib/h5tools.c +++ b/tools/lib/h5tools.c @@ -1137,8 +1137,15 @@ h5tools_dump_dset(FILE *stream, const h5dump_t *info, hid_t dset, hid_t _p_type, if (info->raw) p_type = H5Tcopy(f_type); - else - p_type = H5Tget_native_type(f_type,H5T_DIR_DEFAULT); + else { + H5T_class_t type_class; + + type_class = H5Tget_class(f_type); + if(type_class==H5T_BITFIELD) + p_type=H5Tcopy(f_type); + else + p_type = H5Tget_native_type(f_type,H5T_DIR_DEFAULT); + } H5Tclose(f_type); |