diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2002-05-13 19:55:33 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2002-05-13 19:55:33 (GMT) |
commit | d07e0dd9a3d98981ba49c1a39998faf7cb522075 (patch) | |
tree | f9d03b17c9c1b722c8145cd3b7cdbc8f2cb4386b /src/H5Sprivate.h | |
parent | 4793f81ae10d65a681ce440ce072b510b1ec8d92 (diff) | |
download | hdf5-d07e0dd9a3d98981ba49c1a39998faf7cb522075.zip hdf5-d07e0dd9a3d98981ba49c1a39998faf7cb522075.tar.gz hdf5-d07e0dd9a3d98981ba49c1a39998faf7cb522075.tar.bz2 |
[svn-r5407] Purpose:
Bug fix
Description:
Was not able to handle data size (file size) larger than 32bits.
Was using long, which is only 4 bytes big in SP, thus overflowing
into negative when trying to address 2GB or larger.
Solution:
Changed those variables involved in file size/offset calculation
to type off_t. (If a certain system/compiler has off_t defined
as 4 bytes, it can't write to file size larger than 2GB anyway.)
Note that the lseek of SP with -D_LARGE_FILE still fails for
offset larger than 2GB (works for 2GB). That has to be fixed
soon.
Platforms tested:
burrwhite (linux 2.4) and modi4 parallel.
Diffstat (limited to 'src/H5Sprivate.h')
0 files changed, 0 insertions, 0 deletions