diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2005-02-23 21:16:57 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2005-02-23 21:16:57 (GMT) |
commit | d2e629a6c051981968405ba0af27c701523dfcc8 (patch) | |
tree | 581f6033ddb054f64b5def6b23c8794073d8fefd /src/H5HG.c | |
parent | 7fb30f4faa801cbd4e582bccf4b8b3fb849ea026 (diff) | |
download | hdf5-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