summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r19511] Snapshot version 1.8 release 7 (snap0)HDF Tester2010-10-051-2/+2
|
* [svn-r19510] Improve CMake support for CYGWIN.Allen Byrne2010-10-041-2/+2
| | | | | | | | Correct script comment in testh5diff.sh Bring r19509 back from trunk Tested: Windows Cygwin
* [svn-r19499] Description:Quincey Koziol2010-10-017-662/+1087
| | | | | | | | | | | | | | | Bring r19498 from trunk to 1.8 branch: Optimize the vector-vector memcpy() routine even further, for a total of ~2x speedup. :-) Make a generic vector-vector operation routine and convert other vector-vector read & write routines to use generic routine instead of multiple copies of the basic algorithm. Tested on: FreeBSD/32 6.3 (duty) in debug mode (h5committested on trunk)
* [svn-r19485] Description:Quincey Koziol2010-09-281-428/+424
| | | | | | | | | | Bring r19484 from trunk to 1.8 branch: Clean up formatting a bit. Tested on: FreeBSD/32 6.3 (duty) w/debug (Too minor to require h5committest)
* [svn-r19483] Description:Quincey Koziol2010-09-281-49/+85
| | | | | | | | | | | Bring r19482 from trunk to 1.8 branch: Speed up hyperslab sequence generation routine some more, giving about a 10% improvement in Ger Van Diepen's LOFAR benchmark. Tested on: FreeBSD/32 6.3 (duty) in debug mode (h5committested on trunk)
* [svn-r19479] I'm backing out my fix for bug 1707 because there're some ↵Raymond Lu2010-09-275-46/+23
| | | | | | | | | unresolved issues - r19441 and 19466. Bug 1707 is that H5Eset_auto causes a seg fault when an application uses -DH5_USE_16_API with the 1.8 library to compile. Tested on jam - backing out, simple.
* [svn-r19477] Description:Quincey Koziol2010-09-234-141/+127
| | | | | | | | | | | Bring r19476 from trunk to 1.8 branch: Polish the vectorized memory <-> memory and memory <-> file I/O routines to speed them up a little bit (~10%) Tested on: FreeBSD/32 6.3 (duty) in debug mode (h5committested on trunk)
* [svn-r19473] Description:Quincey Koziol2010-09-232-289/+614
| | | | | | | | | | | | Bring r19472 from trunk to the 1.8 branch: Create a new, more streamlined method of generating I/O sequences when there is only a single block defined by a hyperslab. This improves the performance of Ger Van Diepen's (LOFAR team) benchmark by about 20%. Tested on: FreeBSD/32 6.3 (duty) in debug mode (h5committested on trunk)
* [svn-r19466] Bug fix for 1707 - My previous checkin wasn't complete. I left ↵Raymond Lu2010-09-222-2/+9
| | | | | | | | | out the case when the deprecated symbols were disabled. I made a different definition for H5E_auto_op_t when the deprecated symbols were disabled. Tested on jam - a simple change.
* [svn-r19463] Purpose: Fix bug 1864Neil Fortner2010-09-2119-72/+263
| | | | | | | | | | | Description: Library versions 1.6.3 and earlier contain a bug which causes them to be unable to perform certain operations on a group if that group's symbol table information is not cached in the parent group's symbol table. Versions 1.8.0 to 1.8.5 did not cache this information. Modified library to cache this information. Tested: jam, amani, heiwa (h5committest)
* [svn-r19451] Update version of 1.8 branch to HDF5 1.8.7-snap0Mike McGreevy2010-09-212-4/+4
|
* [svn-r19441] Bug fix for 1707 - in a hurry, explain later.Raymond Lu2010-09-205-23/+39
| | | | tested on jam and amani, heiwa hasn't finished yet.
* [svn-r19419] On windows, an include bypassed the WIN32_LEAN_AND_MEAN define. ↵Allen Byrne2010-09-171-1/+1
| | | | | | Moved the define up. Moved the h5dif.h to after the h5private include Tested: Windows
* [svn-r19414] Error return value was FAIL. Should be NULL.Albert Cheng2010-09-171-1/+1
| | | | Tested: LLNL up which this was flagged.
* [svn-r19408] In this revision the '/' after ${DESTDIR} wherever it occursLarry Knox2010-09-161-5/+15
| | | | | | | | | | | | | | | | | | | | has been removed. According to the official description of DESTDIR by Gnu at http://www.gnu.org/prep/standards/html_node/DESTDIR.html, DESTDIR is prepended to the normal and complete install path that it precedes for the purpose of installing in a temporary directory which is useful for building rpms and other packages. The '/' after ${DESTDIR} will be followed by another '/' at the beginning of the normal install path. When DESTDIR is empty the path then begins with '//', which is incorrect and causes problems at least for Cygwin. The change made in config/commence.am affects many Makefile.*s when bin/reconfigure is run. EXAMPLEDIRs had to be corrected individually. Also the scripts to run examples after they are installed have checks added to see that the fortran and c++ directories are present before trying to run the scripts in them. Tested with h5committest on amani, heiwa and jam.
* [svn-r19405] Description:Quincey Koziol2010-09-161-6/+2
| | | | | | | | | | | | | | | | | | | | | | Bring r19402 from trunk to 1.8 branch: Correct Bz#1968 (Problem when opening new format file with H5F_LIBVER_EARLIEST) by initializing symbol table leaf information in a more universal way. Also cleaned up other superblock initialization a little bit while I'm here. Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, w/threadsafe, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in debug mode Mac OS X/32 10.6.4 (amazon) in debug mode Mac OS X/32 10.6.4 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode Mac OS X/32 10.6.4 (amazon) w/parallel, in debug mode
* [svn-r19399] Description:Quincey Koziol2010-09-1634-437/+367
| | | | | | | | | | | | | | Bring r19398 from trunk to 1.8 branch: Clean up the internal usage H5I_dec_ref() to eliminate the sequence of flags that has been creeping in. Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in debug mode
* [svn-r19397] Description:Quincey Koziol2010-09-168-25/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | Bring r19396 from trunk to 1.8 branch: Bring back various modifications to the v2 B-trees that were introduced in the revise_chunks branch but aren't dependent on any file format or API changes. 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/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (amani) 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, w/threadsafe, in production mode Linux/PPC 2.6 (heiwa) w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in debug mode Mac OS X/32 10.6.4 (amazon) in debug mode Mac OS X/32 10.6.4 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode Mac OS X/32 10.6.4 (amazon) w/parallel, in debug mode
* [svn-r19387] Purpose: Fix assertion failure caused by fractal heap header ↵Neil Fortner2010-09-152-3/+3
| | | | | | | | | | | | | | file pointer Description: The fractal heap header structure keeps a pointer to the file associated with it. However, it is possible for that file pointer to be closed while the header is still in cache (through the shared file pointer). Previously, the header's file pointer was not updated and subsequently pointed to an invalid file structure. Modified fractal heap code to update the file pointer every time the header is accessed. Tested: jam, linew, amani (h5committest)
* [svn-r19385] Description:Quincey Koziol2010-09-153-53/+50
| | | | | | | | | | | | Bring r19384 from trunk to 1.8 branch: Correct an error I convinced Mike to introduce with the phread_once() code, :-( along with another one that wasn't my fault. Also, clean up warnings and restructure code in the pthread side of the thread-safe code a bit. Tested on: Mac OS X/32 10.6.4 (amazon) w/production + thread-safe (not a configuration that h5committest tests)
* [svn-r19375] [BZ1938] - VS2010 on windows requires stdint.h to compile C++ ↵Allen Byrne2010-09-131-2/+6
| | | | | | library. CMake will check if c++ compiler supports stdint.h and set the H5_HAVE_STDINT_H_CXX define. Tested: windows and local linux
* [svn-r19371] Updated autoconf to version 2.6.7, libtool to version 2.2.10, ↵Larry Knox2010-09-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and m4 to version 1.4.14. Also added m4 directory for m4 macros according to autoconf suggestion. Tested with h5committest on amani, jam, and heiwa, and on linew. -This line, and those below, will be ignored-- M hdf5_1_8/test/Makefile.in A hdf5_1_8/m4 AM hdf5_1_8/m4/ltsugar.m4 AM hdf5_1_8/m4/libtool.m4 AM hdf5_1_8/m4/ltversion.m4 AM hdf5_1_8/m4/lt~obsolete.m4 AM hdf5_1_8/m4/ltoptions.m4 M hdf5_1_8/configure M hdf5_1_8/Makefile.in M hdf5_1_8/testpar/Makefile.in M hdf5_1_8/configure.in M hdf5_1_8/src/Makefile.in M hdf5_1_8/tools/Makefile.in M hdf5_1_8/tools/misc/Makefile.in M hdf5_1_8/tools/h5dump/Makefile.in M hdf5_1_8/tools/h5repack/Makefile.in M hdf5_1_8/tools/h5jam/Makefile.in M hdf5_1_8/tools/h5diff/Makefile.in M hdf5_1_8/tools/lib/Makefile.in M hdf5_1_8/tools/h5copy/Makefile.in M hdf5_1_8/tools/h5import/Makefile.in M hdf5_1_8/tools/h5stat/Makefile.in M hdf5_1_8/tools/h5ls/Makefile.in M hdf5_1_8/hl/test/Makefile.in M hdf5_1_8/hl/tools/Makefile.in M hdf5_1_8/hl/tools/gif2h5/Makefile.in M hdf5_1_8/hl/Makefile.in M hdf5_1_8/hl/src/Makefile.in M hdf5_1_8/hl/c++/test/Makefile.in M hdf5_1_8/hl/c++/Makefile.in M hdf5_1_8/hl/c++/src/Makefile.in M hdf5_1_8/hl/c++/examples/Makefile.in M hdf5_1_8/hl/fortran/test/Makefile.in M hdf5_1_8/hl/fortran/Makefile.in M hdf5_1_8/hl/fortran/src/Makefile.in M hdf5_1_8/hl/fortran/examples/Makefile.in M hdf5_1_8/hl/examples/Makefile.in M hdf5_1_8/config/commence.am M hdf5_1_8/MANIFEST M hdf5_1_8/c++/test/Makefile.in M hdf5_1_8/c++/Makefile.in M hdf5_1_8/c++/src/Makefile.in M hdf5_1_8/c++/examples/Makefile.in M hdf5_1_8/bin/ltmain.sh M hdf5_1_8/bin/reconfigure M hdf5_1_8/perform/Makefile.in M hdf5_1_8/fortran/test/Makefile.in M hdf5_1_8/fortran/testpar/Makefile.in M hdf5_1_8/fortran/Makefile.in M hdf5_1_8/fortran/src/Makefile.in M hdf5_1_8/fortran/examples/Makefile.in M hdf5_1_8/aclocal.m4 M hdf5_1_8/examples/Makefile.in
* [svn-r19368] Purpose:Mike McGreevy2010-09-105-39/+196
| | | | | | | | | | | | | | | | | | | Add windows threads support to HDF5. Description: Added calls to the windows threads library to the H5TS layer, and wrapped most calls to either pthreads or windows threads library with portable H5TS-style defines. Modified tests to use portable function definitions as well. This can be configured via CMake with the HDF5_ENABLE_THREADSAFE option, and should work on windows vista and later operating systems. Tested: h5committest, plus threadsafe with pthreads on jam and amani, and tested on a Windows Vista VM with threadsafe using windows threads.
* [svn-r19359] When mandatory filter failed to write data chunks, the datasetRaymond Lu2010-09-0834-139/+159
| | | | | | | couldn't close (bug 1260). The fix releases all resources and closes the dataset but returns a failure. Tested with h5committest - jam, heiwa, amani.
* [svn-r19355] Quincey and I made H5Eset_current_stack also close the stack to ↵Raymond Lu2010-09-071-1/+14
| | | | | | | | | | | be set. This is to avoid H5Eclose_stack clearing the default stack. Please see bug 1799. Tested on jam - simple change. The changes to configure.in, tools/lib, config, c++/test, Makefile.am, and fortran are only property changes from the merge.
* [svn-r19353] Description:Quincey Koziol2010-09-041-18/+4
| | | | | | | | | | Bring r19352 from trunk to 1.8 branch: Align w/changes on revise_chunks branch Tested on: Mac OS X/32 10.6.4 (amazon) w/debug & production (too minor to require h5committest)
* [svn-r19329] Description:Quincey Koziol2010-08-312-2/+11
| | | | | | | | | | | | | | | Bring r19328 from trunk to 1.8 branch: Add some extra range checking for invalid chunk sizes. Tweak default chunk sizes to be zero, so that it's more likely that application developers will be forced to set them correctly. Add a few tests to verify these checks. Tested on: Mac OS X/32 10.6.4 (amazon) w/debug & production (too minor to require h5committest)
* [svn-r19314] Description:Quincey Koziol2010-08-262-100/+142
| | | | | | | | | | Bring r19313 from trunk to 1.8 branch: Clean up a few compiler warnings and style issues in/near recent changes. Tested on: Mac OS X/32 10.6.4 (amazon) w/debug & production (too minor to require h5committest)
* [svn-r19310] Description:Quincey Koziol2010-08-262-12/+48
| | | | | | | | | | | | | | | | | | | | | Bring r19309 from trunk to 1.8 branch: Bring revisions from Coverity branch back to trunk: r19191: Fix coverity items 104 and 105. Added calls to H5HF_sect_indirect_free to H5HF_sect_indirect_reduce and H5HF_sect_indirect_reduce_row if there is an errorbefore "peer_sect" is linked into the main free space structure via its direct sections. Also delayed call to H5HF_sect_indirect_first to prevent peer_sect from being left in an inconsistent state. r19268: Added fix to disallow extendible compact dataset. This was the same check as in H5D_contig_construct() in H5Dcontig.c. Added test to verify the creation of extendible dataset with various layouts. Tested on: Mac OS X/32 10.6.4 (amazon) w/debug & production (h5committested on branch)
* [svn-r19298] Description:Quincey Koziol2010-08-253-7/+12
| | | | | | | | | | | | Bring r19297 from trunk to 1.8 branch: Whack a few more memory errors exposed by valgrind. Make the debugging dump output a little bit prettier. Tested on: FreeBSD/32 6.3 (duty) w/debug (h5committested on trunk)
* [svn-r19290] Description:Quincey Koziol2010-08-241-27/+43
| | | | | | | | | Correct another error in metadata accumulator dirty region calculations (this time with a corner case when freeing data in the file). Tested on: Linux/32 2.6 (talwit) w/debug (following up with h5committest)
* [svn-r19283] Description:Quincey Koziol2010-08-246-33/+61
| | | | | | | | | | | | | | | | | | | | | | | | Bring r19278 from trunk to 1.8 branch: More fixes to memory allocation, etc. exposed by valgrind. 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/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (amani) 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, w/threadsafe, in production mode Linux/PPC 2.6 (heiwa) w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in debug mode Mac OS X/32 10.6.4 (amazon) in debug mode Mac OS X/32 10.6.4 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode Mac OS X/32 10.6.4 (amazon) w/parallel, in debug mode
* [svn-r19279] Bug 1934 - I added support of all data types for H5Tget_order. ↵Raymond Lu2010-08-232-14/+51
| | | | | | | | | I added a new byte order H5T_ORDER_MIXED specifically for compound types and its derived types. They report mixed orders if they have members of different orders. Tested on heiwa, jam, and amani.
* [svn-r19277] Description:Quincey Koziol2010-08-221-1/+1
| | | | | | | | | | Bring r19276 from trunk to 1.8 branch: Correct calculation of end of dirty information in metadata accumulator Tested on: FreeBSD/32 6.3 (duty) in debug mode (h5committested on trunk)
* [svn-r19274] Description:Quincey Koziol2010-08-2017-164/+139
| | | | | | | | | | | | | | | | | | | | Bring r19272 & 19273 from trunk to 1.8 branch: Close out various resource leaks and usages of uninitialized memory that were flagged by valgrind. [There's still some more valgrind warnings, but it's better now... :-/ ] Also clean up warnings and code formatting. Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Mac OS X/32 10.6.4 (amazon) in debug mode Mac OS X/32 10.6.4 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode Mac OS X/32 10.6.4 (amazon) w/parallel, in debug mode
* [svn-r19259] Correct formatting and endif labelsAllen Byrne2010-08-201-1/+1
|
* [svn-r19257] Change Cmake to allow a local zlib header to be used in ↵Allen Byrne2010-08-202-14/+24
| | | | | | | | | | | H5Zdelate module. Corrected use of "SKIP" message in cmake. Corrections to cmake configuration files (for cmake external projects). Community suggested changes. Tested: local linux
* [svn-r19250] New feature(bug #1934): I made H5Tset_order support all data ↵Raymond Lu2010-08-182-12/+71
| | | | | | | | | | | | | | | types with some restictions: 1. For enum type, members shouldn't be defined yet. 2. H5T_ORDER_NONE only works for reference and fixed-length string. 3. For opaque type, the order will be ignored. 4. For compound type, all restrictions above apply to the members. I'll change H5Tget_order and do another commit. Tested on jam, heiwa, and amani.
* [svn-r19248] Description:Quincey Koziol2010-08-172-53/+234
| | | | | | | | | | | | | | | | | Bring r19247 from trunk to 1.8 branch: Bring r19246 from Coverity branch to trunk: Improve metadata "accumulator" for files to track the dirty region within the accumulator data. This allows the accumulator to drop clean data and reduces the number of I/O operations when it is dirtied. This is progress toward Bz#1142 - speeding up the fheap test (which it doesn't help much, actually, but it does help other aspects of file I/O). Tested on: FreeBSD/32 6.3 (duty) in debug mode (h5committested on trunk)
* [svn-r19204] Bug 1917: post cleanup.Albert Cheng2010-08-091-3/+0
| | | | | | | | | | fseek64 was used to support large file access for the STDIO driver back in version 1.2.2 in year 2000. Some how it was not included in version 1.4.0. Now, fseeko64 is used to support large file. There is no more need for fseek64 which is not a standard call. Removed its presence from configure and related files. Tested: jam for configure only.
* [svn-r19196] Defined the file format version H5F_LIBVER_18 to prepare for ↵Raymond Lu2010-08-091-0/+4
| | | | | | | | the 1.10 release. It isn't used anywhere yet. Tested on jam - very simple change and not used.
* [svn-r19194] Bug fix: ID 1917Albert Cheng2010-08-091-1/+1
| | | | | | Fixed a typo in the Windows definitions. Had __ftelli64, should be _ftelli64. Tested by Allen in Windows platform.
* [svn-r19187] Bug fix: ID 1917Albert Cheng2010-08-061-31/+43
| | | | | | | | | | | The STDIO only checked for fseeko and incorrectly assumed it can support file sizes larger than 32bits. Fixed it by making to use fseeko64 if supported, else use fseeko. To simplify the code, assume fseeko which is a POSIX function must be supported. Therefore, fseek is not used at all. (Note: the above applies to Unix-like system. The Windows platform has hardcoding using Windows functions which are NOT POSIX compliant.) Tested: h5committested. Also tested in BP (AIX) 32/64 and enable/disable-largefile.
* [svn-r19172] Bug fix for #1239 - The filter's public function CAN_APPLY ↵Raymond Lu2010-08-055-23/+22
| | | | | | | | | | | | should return htri_t not herr_t. To minimize the change of the library's behavior, in the function H5Z_prelude_callback of H5Z.c, if the return value of can_apply is FALSE and the filter is MANDATE, this function returns a FAILURE. If the return value is FALSE but the filter is OPTIONAL, this function returns a SUCCEED. During the IO, the filter will fail and return a size of zero. But the pipeline will skip this filter. Tested on jam, linew, and amani. Tested on jam with szip.
* [svn-r19170] Bug fix: 1917.Albert Cheng2010-08-052-8/+11
| | | | | | | | The previous fix had the Windows code in H5private.h but they should have been in H5win32defs.h which holds all Windows-specific definitions. Moved the fix. Tested: BP (AIX) to confirm the fix is still valid. Windows tests will occur in daily tests tonight.
* [svn-r19166] Bug fix: 1917.Albert Cheng2010-08-032-24/+21
| | | | | | | | | | | | | | | | | Description: test/big incorrectly determined not able to write files larger than 2GB and skipped the SEC2 and STDIO driver tests. The reason was because it was using off_t while the SEC2 driver is using lseek64 which expects off64_t type. Solution: Created a new HDoff_t which is set to off_t or off64_t or other appropriate type depending on which of lseek or lseek64 is available. Changed SEC2 file driver and the big test to use this common definition. Tested: In BP (AIX), using --enable and --disable-largefile, for both 32 and 64 bits modes. Did not do h5committest because: 1. the error was exposed in the remote BP machine; 2. the change is trivial.
* [svn-r19159] Added the tests for fseeko64 and ftello64 which will be used by ↵Albert Cheng2010-07-302-2/+8
| | | | | | | | | the STDIO VFD if they are available. Tested: jam only since it was tests for two new functions that are not used by the code yet.
* [svn-r19158] Description:Quincey Koziol2010-07-306-164/+200
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring r19156 from trunk to 1.8 branch: Bring revisions from Coverity branch back to trunk: r19044: Coverity #449 - Line 1560 called function H5O_chunk_protect for 2 pointers to allocate. But when there's failure on the second one, the first wasn't freed (H5O_chunk_unprotect). We fixed it by freeing the pointers when an error happens. r19045: Fixed coverity issue # 319. Free sec_node in done if it is not NULL. r19046: Add intended but missing assignments to initialize pointers to NULL (coverity issue fixes). r19049: Hdf5_1_8_coverity branch was recreated from hdf5_1_8 branch in revision 18839 without fix for Coverity issue #84 having been propagated to the hdf5_1_8 branch. This revision adds the fix again. r19060: added parentheses to see if they will keep subversion from getting confused r19061: Fix coverity item 139. Fixed incorrect condition for freeing buffer on error. Fix coverity items 20 and 21. Removed unused NTESTS facility from dtypes.c. Cleanup in H5Shyper.c. r19062: Fix coverity item 450. Check to see if chk_proxy has been allocated before attempting to free it. Fix coverity item 454. Check to see if allocation of buf failed in H5D_fill_refill_vl. Fix coverity items 455-457. Initilize hid_t's to -1, check their value before attempting to close them, and check if the close failed. r19063: New fix to address coverity issue #84. Check that pointers in H5Z_xform_find_type are not NULL before passing them to H5T_cmp. Tested on: Mac OS X/32 10.6.4 (amazon) w/debug & production (h5committested on Coverity branch)
* [svn-r19157] Description:Quincey Koziol2010-07-301-14/+18
| | | | | | | | | | | | | | | | | Bring r19078 from Coverity branch to 1.8 branch (code doesn't exist on trunk): Purpose: Resolve Memory Leaks Description: Free saved ID structures in H5I interface when library shuts down. Tested on: Mac OS X/32 10.6.4 (amazon) w/debug & production (Too minor to require h5committest)
* [svn-r19154] Description:Quincey Koziol2010-07-297-300/+244
| | | | | | | | | | | | | | | | | | | | | | | | | | Bring r19153 from trunk to 1.8 branch: Bring changes on Coverity branch back to trunk: r19040: Fixed coverity #440 - NULL check after dereference. We moved the NULL check up into the IF block and changed it to assertion. r19041: Maintenance: Addressed Coverity issues 441 and 449 by initializing proper variables r19042: In function H5O_chunk_protect (H5Ochunk.c): - Initialize H5O_chunk_proxy_t pointers chk_proxy and ret_value. - Free chk_proxy on error. r19043: Addressed coverity issues 442 - 448 by initializing pointers to NULL. Tested on: Mac OS X/32 10.6.4 (amazon) w/debug & production (Too minor to require h5committest)