summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2010-11-15 21:44:33 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2010-11-15 21:44:33 (GMT)
commitd9adf2d78d3374d0cf56019f8fec243dc531f4fb (patch)
tree8cf295dfadb48856e786ca2699c680226bee1463
parent901b01601ac242040ec3a78eda97391545f0f16b (diff)
downloadhdf5-d9adf2d78d3374d0cf56019f8fec243dc531f4fb.zip
hdf5-d9adf2d78d3374d0cf56019f8fec243dc531f4fb.tar.gz
hdf5-d9adf2d78d3374d0cf56019f8fec243dc531f4fb.tar.bz2
[svn-r19785] Bug 1917: Disabled an incorrect condition that whether STDIO VFD supports
larger than 32bits I/O depends on the support of fseeko. Windows does not use that. Instead, it uses _fseeki64 to support larger than 32bits I/O. Tested: jam (linus) and bangan (windows)
-rw-r--r--src/H5FDstdio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5FDstdio.c b/src/H5FDstdio.c
index 20fa31f..004289c 100644
--- a/src/H5FDstdio.c
+++ b/src/H5FDstdio.c
@@ -609,11 +609,13 @@ H5FD_stdio_alloc(H5FD_t *_file, H5FD_mem_t /*UNUSED*/ type, hid_t /*UNUSED*/ dxp
addr = ((addr / file->pub.alignment) + 1) * file->pub.alignment;
} /* end if */
+#if 0
#ifndef H5_HAVE_FSEEKO
/* If fseeko isn't available, big files (>2GB) won't be supported. */
if((addr + size) > BIG_FILE)
H5Epush_ret(func, H5E_ERR_CLS, H5E_IO, H5E_SEEKERROR, "can't write file bigger than 2GB because fseeko isn't available", HADDR_UNDEF)
#endif
+#endif
file->eoa = addr + size;