summaryrefslogtreecommitdiffstats
path: root/hl/src/H5TB.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2005-03-21 21:28:13 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2005-03-21 21:28:13 (GMT)
commit98b02fbdcbe12ae422b3ee62f2dcab0025ce6b54 (patch)
tree5a1c237add42edf7f7d99e377a2a812574a4a438 /hl/src/H5TB.c
parent7079f6b1e90ae02ec6abbb3457047d9e8d7f2956 (diff)
downloadhdf5-98b02fbdcbe12ae422b3ee62f2dcab0025ce6b54.zip
hdf5-98b02fbdcbe12ae422b3ee62f2dcab0025ce6b54.tar.gz
hdf5-98b02fbdcbe12ae422b3ee62f2dcab0025ce6b54.tar.bz2
[svn-r10248] Purpose:
new tests for DS Description: add a test that ckecks if a scale being attached itself has scales attached (error) add a test for the dataset being attached to is a reserved High Level class (image, palette, table) Solution: Platforms tested: linux solaris Misc. update:
Diffstat (limited to 'hl/src/H5TB.c')
-rw-r--r--hl/src/H5TB.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hl/src/H5TB.c b/hl/src/H5TB.c
index 84f626e..d006176 100644
--- a/hl/src/H5TB.c
+++ b/hl/src/H5TB.c
@@ -170,7 +170,7 @@ herr_t H5TBmake_table( const char *table_title,
*/
/* Attach the CLASS attribute */
- if ( H5LTset_attribute_string( loc_id, dset_name, "CLASS", "TABLE" ) < 0 )
+ if ( H5LTset_attribute_string( loc_id, dset_name, "CLASS", TABLE_CLASS ) < 0 )
goto out;
/* Attach the VERSION attribute */
@@ -3512,7 +3512,7 @@ herr_t H5TB_attach_attributes( const char *table_title,
hsize_t i;
/* Attach the CLASS attribute */
- if ( H5LTset_attribute_string( loc_id, dset_name, "CLASS", "TABLE" ) < 0 )
+ if ( H5LTset_attribute_string( loc_id, dset_name, "CLASS", TABLE_CLASS ) < 0 )
goto out;
/* Attach the VERSION attribute */