summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2007-04-05 20:41:42 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2007-04-05 20:41:42 (GMT)
commit66e7376e347c2f445813ece0548ee5b6d70aa476 (patch)
treeac9d01f04b4d60c16828e5a35144341404ed0892 /test
parentea3e17a5c6c706864aa9b73ac05ebb5bda00d8f1 (diff)
downloadhdf5-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.
Diffstat (limited to 'test')
-rw-r--r--test/big.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/big.c b/test/big.c
index 60c01ad..cc85642 100644
--- a/test/big.c
+++ b/test/big.c
@@ -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 */