diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2007-04-05 20:41:42 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2007-04-05 20:41:42 (GMT) |
commit | 66e7376e347c2f445813ece0548ee5b6d70aa476 (patch) | |
tree | ac9d01f04b4d60c16828e5a35144341404ed0892 | |
parent | ea3e17a5c6c706864aa9b73ac05ebb5bda00d8f1 (diff) | |
download | hdf5-66e7376e347c2f445813ece0548ee5b6d70aa476.zip hdf5-66e7376e347c2f445813ece0548ee5b6d70aa476.tar.gz hdf5-66e7376e347c2f445813ece0548ee5b6d70aa476.tar.bz2 |
[svn-r13597] Add the macro check of H5_HAVE_FSEEKO for STDIO test. Without it
there'll be no big file support. Updated document, too.
Tested on smirom because it's a simple change.
-rw-r--r-- | release_docs/RELEASE.txt | 6 | ||||
-rw-r--r-- | test/big.c | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt index 698f884..cf6ed06 100644 --- a/release_docs/RELEASE.txt +++ b/release_docs/RELEASE.txt @@ -87,7 +87,11 @@ Bug Fixes since HDF5-1.6.5 Release Library ------- - - Relaxed restrictions on attribute operations to allow a file ID to + - 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 + - Relaxed restrictions on attribute operations to allow a file ID to be used as the "location ID". If a file ID is used, the attribute operation will occur on the root group of the file. - QAK - 2007/02/09 @@ -553,7 +553,10 @@ main (int ac, char **av) puts("Test passed with the Family Driver."); - /* Test big file with the STDIO driver */ +#ifdef H5_HAVE_FSEEKO + /* 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(); @@ -565,6 +568,7 @@ main (int ac, char **av) if (writer(filename, fapl, WRT_N)) goto error; if (reader(filename, fapl)) goto error; puts("Test passed with the STDIO Driver."); +#endif quit: /* End with normal exit code */ |