summaryrefslogtreecommitdiffstats
path: root/src/H5HG.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2005-02-23 21:16:57 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2005-02-23 21:16:57 (GMT)
commitd2e629a6c051981968405ba0af27c701523dfcc8 (patch)
tree581f6033ddb054f64b5def6b23c8794073d8fefd /src/H5HG.c
parent7fb30f4faa801cbd4e582bccf4b8b3fb849ea026 (diff)
downloadhdf5-d2e629a6c051981968405ba0af27c701523dfcc8.zip
hdf5-d2e629a6c051981968405ba0af27c701523dfcc8.tar.gz
hdf5-d2e629a6c051981968405ba0af27c701523dfcc8.tar.bz2
[svn-r10070] Purpose: Bug fix
Description: On some Cray, the size of "short" is 8 byte but only the low-order 4 byte are over used(precision is 4 byte). The "perm" in struct "detect_t" contains "-1" for bytes that aren't used, making detection of order invalid in function print_results(). Solution: Use a "for" loop to search through "perm" find the first non "-1" element, and use it to decide the byte order of the machine. Platforms tested: fuss - already tested for v1.6
Diffstat (limited to 'src/H5HG.c')
0 files changed, 0 insertions, 0 deletions