From a7ef15584e09c187e84489aef021e4a328b2c026 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Tue, 16 Sep 2003 12:36:12 -0500 Subject: [svn-r7482] Purpose: Bug fix Description: The MPI_File_set_size() routine on ASCI Red is not able to extend files so that they are larger than 2GB. Solution: Add an extra macro which controls whether MPI_File_set_size() can handle >2GB offsets or if our "older" way of reading a byte, then writing a byte at the appropriate offset should be used. Platforms tested: FreeBSD 4.9 (sleipnir) h5committest --- src/H5config.h.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/H5config.h.in b/src/H5config.h.in index ea14802..ded57d6 100644 --- a/src/H5config.h.in +++ b/src/H5config.h.in @@ -349,7 +349,8 @@ /* Define if `__tm_gmtoff' is a member of `struct tm' */ #undef HAVE___TM_GMTOFF -/* Define if your system has a working `malloc' function. */ +/* Define if your system's `malloc' function returns a valid pointer for + 0-byte allocations. */ #undef MALLOC_WORKS /* Define if your system's `MPI_File_set_size' function works for files over -- cgit v0.12