diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2009-04-23 18:02:41 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2009-04-23 18:02:41 (GMT) |
commit | 4c3073f955898ce857f940e3e9ca05c6a3cb201f (patch) | |
tree | 8ab78c9a40471e3a604ebb0d28b0b508db663831 /src/H5FDsec2.c | |
parent | 5bb857476f99118cda0e54ea522f52933a582747 (diff) | |
download | hdf5-4c3073f955898ce857f940e3e9ca05c6a3cb201f.zip hdf5-4c3073f955898ce857f940e3e9ca05c6a3cb201f.tar.gz hdf5-4c3073f955898ce857f940e3e9ca05c6a3cb201f.tar.bz2 |
[svn-r16846] Description:
Fix broken (for how long?) H5_ASSIGN_OVERFLOW macro to actually detect
overflows during assignments, along with several errors it [now] detected.
Cleaned up a fix minor warnings and/or pieces of code also.
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.6 (amazon) in debug mode
Mac OS X/32 10.5.6 (amazon) w/C++ & FORTRAN, w/threadsafe,
in production mode
Diffstat (limited to 'src/H5FDsec2.c')
-rw-r--r-- | src/H5FDsec2.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/H5FDsec2.c b/src/H5FDsec2.c index b35ea7d..35ade20 100644 --- a/src/H5FDsec2.c +++ b/src/H5FDsec2.c @@ -422,9 +422,6 @@ H5FD_sec2_close(H5FD_t *_file) herr_t ret_value = SUCCEED; /* Return value */ FUNC_ENTER_NOAPI(H5FD_sec2_close, FAIL) -#ifdef QAK -HDfprintf(stderr, "%s: file->eof = %a, file->eoa = %a\n", FUNC, file->eof, file->eoa); -#endif /* QAK */ /* Sanity check */ HDassert(file); @@ -863,9 +860,6 @@ H5FD_sec2_truncate(H5FD_t *_file, hid_t UNUSED dxpl_id, hbool_t UNUSED closing) herr_t ret_value = SUCCEED; /* Return value */ FUNC_ENTER_NOAPI(H5FD_sec2_truncate, FAIL) -#ifdef QAK -HDfprintf(stderr, "%s: file->eof = %a, file->eoa = %a\n", FUNC, file->eof, file->eoa); -#endif /* QAK */ HDassert(file); |