From 400f6742846ef5e5a6b045d8d1504c3e9f4c449b Mon Sep 17 00:00:00 2001 From: Raymond Lu Date: Thu, 5 Apr 2007 15:34:51 -0500 Subject: [svn-r13596] Update document and comments. No test needed. --- release_docs/RELEASE.txt | 4 ++++ test/big.c | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt index 65d3e24..8a83b96 100644 --- a/release_docs/RELEASE.txt +++ b/release_docs/RELEASE.txt @@ -598,6 +598,10 @@ Bug Fixes since HDF5-1.6.0 release Library ------- + - STDIO driver didn't support files bigger than 2GB because the OFFSET + parameter of fseek is of type LONG INT, not big enough for big files. + Use fseeko instead for big files if it's available on the system. + SLU - 2007/4/5 - Fixed a bug in H5Sselect_valid() that caused an incorrect value to be returned (0) instead of FAIL on error conditions such as the selection or extent not being defined. CMC - 2007/01/17 diff --git a/test/big.c b/test/big.c index 49eb44e..80fc073 100644 --- a/test/big.c +++ b/test/big.c @@ -556,7 +556,9 @@ main (int ac, char **av) puts("Test passed with the Family Driver."); #ifdef H5_HAVE_FSEEKO - /* Test big file with the STDIO driver */ + /* Test big file with the STDIO driver only if fseeko is supported, + * because the OFFSET parameter of fseek has the type LONG, not big + * enough to support big files. */ puts("\nTesting big file with the STDIO Driver "); fapl = h5_fileaccess(); -- cgit v0.12