From d9adf2d78d3374d0cf56019f8fec243dc531f4fb Mon Sep 17 00:00:00 2001 From: Albert Cheng <acheng@hdfgroup.org> Date: Mon, 15 Nov 2010 16:44:33 -0500 Subject: [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) --- src/H5FDstdio.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit v0.12