diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2009-06-09 21:11:41 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2009-06-09 21:11:41 (GMT) |
commit | ab58cdcecd186a3993913fdfbf7c598c24248213 (patch) | |
tree | 9d59307aa15610fe8aa18c26be1d67dab87a3c75 /src/H5FDstdio.c | |
parent | 5493f48ccb5c70fe765f95f0bccdb4c07338bc76 (diff) | |
download | hdf5-ab58cdcecd186a3993913fdfbf7c598c24248213.zip hdf5-ab58cdcecd186a3993913fdfbf7c598c24248213.tar.gz hdf5-ab58cdcecd186a3993913fdfbf7c598c24248213.tar.bz2 |
[svn-r17021] Description:
Make error handling for detecting overlaps between 'normal' and 'temporary'
space allocation more robust.
Tested on:
FreeBSD/32 6.3 (duty) in debug mode
FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
Linux/32 2.6 (jam) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
in debug mode
Linux/64-amd64 2.6 (smirom) w/Intel compilers w/default API=1.6.x,
w/C++ & FORTRAN, in production mode
Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
w/szip filter, in production mode
Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
in production mode
Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode
Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
Mac OS X/32 10.5.7 (amazon) in debug mode
Mac OS X/32 10.5.7 (amazon) w/C++ & FORTRAN, w/threadsafe,
in production mode
Diffstat (limited to 'src/H5FDstdio.c')
-rw-r--r-- | src/H5FDstdio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5FDstdio.c b/src/H5FDstdio.c index 0ae09a6..193c576 100644 --- a/src/H5FDstdio.c +++ b/src/H5FDstdio.c @@ -147,8 +147,10 @@ typedef struct H5FD_stdio_t { #define REGION_OVERFLOW(A,Z) (ADDR_OVERFLOW(A) || SIZE_OVERFLOW(Z) || \ HADDR_UNDEF==(A)+(Z) || (file_offset_t)((A)+(Z))<(file_offset_t)(A)) +#ifndef H5_HAVE_FSEEKO /* Define big file as 2GB */ #define BIG_FILE 0x80000000UL +#endif /* Prototypes */ static H5FD_t *H5FD_stdio_open(const char *name, unsigned flags, |