diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2009-06-30 22:07:24 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2009-06-30 22:07:24 (GMT) |
commit | 3b6bd06240e1b29ad0132ecf84b093c7a3857c83 (patch) | |
tree | 8cb75cd229efc0a77570857b82f57f78f15e92b0 | |
parent | b0b31943ae77e16c964e625430af1bfcbcce7e9b (diff) | |
download | hdf5-3b6bd06240e1b29ad0132ecf84b093c7a3857c83.zip hdf5-3b6bd06240e1b29ad0132ecf84b093c7a3857c83.tar.gz hdf5-3b6bd06240e1b29ad0132ecf84b093c7a3857c83.tar.bz2 |
[svn-r17133] Changed the printing of the region datatype to use the file type instead of the memory type.
Tested: linux
-rw-r--r-- | tools/lib/h5tools.c | 4 | ||||
-rw-r--r-- | tools/testfiles/tdataregR.ddl | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/lib/h5tools.c b/tools/lib/h5tools.c index eb9aa26..463aadf 100644 --- a/tools/lib/h5tools.c +++ b/tools/lib/h5tools.c @@ -1295,7 +1295,7 @@ hsize_t h5tools_dump_region_data_blocks(hid_t region_space, hid_t region_id, h5tools_dump_header_format->datatypebegin, h5tools_dump_header_format->datatypeblockbegin); - h5tools_print_datatype(buffer, info, ctx, type_id); + h5tools_print_datatype(buffer, info, ctx, dtype); if (HDstrlen(h5tools_dump_header_format->datatypeblockend)) { h5tools_str_append(buffer, "%s", @@ -1552,7 +1552,7 @@ hsize_t h5tools_dump_region_data_points(hid_t region_space, hid_t region_id, h5tools_dump_header_format->datatypebegin, h5tools_dump_header_format->datatypeblockbegin); - h5tools_print_datatype(buffer, info, ctx, type_id); + h5tools_print_datatype(buffer, info, ctx, dtype); if (HDstrlen(h5tools_dump_header_format->datatypeblockend)) { h5tools_str_append(buffer, "%s", diff --git a/tools/testfiles/tdataregR.ddl b/tools/testfiles/tdataregR.ddl index 1b2a6e0..2d962ed 100644 --- a/tools/testfiles/tdataregR.ddl +++ b/tools/testfiles/tdataregR.ddl @@ -9,7 +9,7 @@ GROUP "/" { DATA { (0): DATASET /Dataset2 { (0): REGION_TYPE BLOCK (2,2)-(7,7) - (0): DATATYPE H5T_STD_U8LE + (0): DATATYPE H5T_STD_U8BE (0): DATASPACE SIMPLE { ( 10, 10 ) / ( 10, 10 ) } (0): DATA { (2,2): 66, 69, 72, 75, 78, 81, @@ -23,7 +23,7 @@ GROUP "/" { (1): DATASET /Dataset2 { (1): REGION_TYPE POINT (6,9), (2,2), (8,4), (1,6), (2,8), (3,2), (1): (0,4), (9,0), (7,1), (3,3) - (1): DATATYPE H5T_STD_U8LE + (1): DATATYPE H5T_STD_U8BE (1): DATASPACE SIMPLE { ( 10, 10 ) / ( 10, 10 ) } (1): DATA { (6,9): 207, |