summaryrefslogtreecommitdiffstats
path: root/tools/h5repack
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2005-02-07 17:56:20 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2005-02-07 17:56:20 (GMT)
commit3ca585e46cf4dd53be7eaded5484a9ff496d2312 (patch)
treea7fb446a8a05288107ac20a01972928a97d2a4a8 /tools/h5repack
parentb9d5eb15435f6480fda9d60f34a1faa5c01edbf1 (diff)
downloadhdf5-3ca585e46cf4dd53be7eaded5484a9ff496d2312.zip
hdf5-3ca585e46cf4dd53be7eaded5484a9ff496d2312.tar.gz
hdf5-3ca585e46cf4dd53be7eaded5484a9ff496d2312.tar.bz2
[svn-r9951] Purpose: Minor bug fix.
Description: The byte order for all 1-byte integer types was fixed as little-endian even on a big-endian machine. This's corrected in h5detect.c. When types are only 1 byte long, a native int is used substitute the type to detect byte order. Some tools like h5dump and h5repack are also corrected in this case. Platforms tested: fuss, copper, sol.(There're some failures from the recent configure change). Misc. update: Information in the RELEASE.txt.
Diffstat (limited to 'tools/h5repack')
-rw-r--r--tools/h5repack/testh5repack_dset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5repack/testh5repack_dset.c b/tools/h5repack/testh5repack_dset.c
index 299c044..8781ae7 100644
--- a/tools/h5repack/testh5repack_dset.c
+++ b/tools/h5repack/testh5repack_dset.c
@@ -655,7 +655,7 @@ static void make_dset_reg_ref(hid_t loc_id)
sid2 = H5Screate_simple(SPACE2_RANK, dims2, NULL);
/* Create a dataset */
- dset2=H5Dcreate(loc_id,"dsetreg",H5T_STD_U8LE,sid2,H5P_DEFAULT);
+ dset2=H5Dcreate(loc_id,"dsetreg",H5T_NATIVE_UCHAR,sid2,H5P_DEFAULT);
for(i=0; i<SPACE2_DIM1*SPACE2_DIM2; i++)
dwbuf[i]=i*3;