summaryrefslogtreecommitdiffstats
path: root/tools/h5repack/h5repack_copy.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2004-01-16 15:31:55 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2004-01-16 15:31:55 (GMT)
commitefbde3c2f3555df156c8b4ed42fcf9e98b5b16ef (patch)
tree1199e2cabf76e857b576a858675de101a98ba4ad /tools/h5repack/h5repack_copy.c
parent5112a79d81b500bc1fa9cad9580afb7de029ab0c (diff)
downloadhdf5-efbde3c2f3555df156c8b4ed42fcf9e98b5b16ef.zip
hdf5-efbde3c2f3555df156c8b4ed42fcf9e98b5b16ef.tar.gz
hdf5-efbde3c2f3555df156c8b4ed42fcf9e98b5b16ef.tar.bz2
[svn-r8074] Purpose:
added h5repack and h5diff support for copying and differences of references to dataset regions modified the behaviour in the diff of attributes, when a difference in name is detected in the attribute cycle (number of attributes of object), instead of exiting the cycle, rather continue Description: Solution: Platforms tested: linux solaris AIX Misc. update:
Diffstat (limited to 'tools/h5repack/h5repack_copy.c')
-rw-r--r--tools/h5repack/h5repack_copy.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/h5repack/h5repack_copy.c b/tools/h5repack/h5repack_copy.c
index 1ac6dbc..2dd1f67 100644
--- a/tools/h5repack/h5repack_copy.c
+++ b/tools/h5repack/h5repack_copy.c
@@ -233,12 +233,13 @@ int do_copy_objects(hid_t fidin,
/*-------------------------------------------------------------------------
- * object references are a special case
+ * references are a special case
* we cannot just copy the buffers, but instead we recreate the reference
* in a second traversal of the output file
*-------------------------------------------------------------------------
*/
- if ( ! H5Tequal(mtype_id, H5T_STD_REF_OBJ) )
+
+ if ( H5Tget_class(mtype_id) != H5T_REFERENCE )
{
/* the information about the object to be filtered/"layouted" */