summaryrefslogtreecommitdiffstats
path: root/tools/testfiles/tstring.ddl
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2005-02-05 18:27:04 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2005-02-05 18:27:04 (GMT)
commitc0bbeb909802f33bac72cd3fabaa4311d97d38a9 (patch)
tree51d7eec1eff1021dc3ebc0062c6e70ed9ce7dda0 /tools/testfiles/tstring.ddl
parent7df531486c17d79b196d39fd75cc44f30207c531 (diff)
downloadhdf5-c0bbeb909802f33bac72cd3fabaa4311d97d38a9.zip
hdf5-c0bbeb909802f33bac72cd3fabaa4311d97d38a9.tar.gz
hdf5-c0bbeb909802f33bac72cd3fabaa4311d97d38a9.tar.bz2
[svn-r9942] Purpose: Minor Bug fix
Description: H5T_NATIVE_SCHAR, H5T_NATIVE_UCHAR were always considered as little endian due to the algorithm to detect their order in H5detect.c. This error didn't affect data but didn't look right. Solution: In H5detect.c, use native int instead to detect order if type size is only 1 byte. Platforms tested: h5committest, fuss and arabica
Diffstat (limited to 'tools/testfiles/tstring.ddl')
-rw-r--r--tools/testfiles/tstring.ddl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testfiles/tstring.ddl b/tools/testfiles/tstring.ddl
index 6510eaa..9189a4f 100644
--- a/tools/testfiles/tstring.ddl
+++ b/tools/testfiles/tstring.ddl
@@ -39,7 +39,7 @@ GROUP "/" {
}
DATASET "str3" {
DATATYPE H5T_COMPOUND {
- H5T_STD_I32LE "a";
+ H5T_STD_I32BE "a";
H5T_STRING {
STRSIZE 255;
STRPAD H5T_STR_NULLTERM;
@@ -57,7 +57,7 @@ GROUP "/" {
}
}
DATASET "str4" {
- DATATYPE H5T_STD_I8LE
+ DATATYPE H5T_STD_I8BE
DATASPACE SIMPLE { ( 93 ) / ( 93 ) }
DATA {
(0): 70, 111, 117, 114, 32, 115, 99, 111, 114, 101, 32, 97, 110, 100,