summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r18124] I added the support of bitfield in H5Tget_native_type. ↵Raymond Lu2010-01-203-114/+209
| | | | | | | | Bitfield is similar to unsigned integer. I also added a test. Tested on amani, jam, linew.
* [svn-r18121] Snapshot version 1.8 release 4 (snap6)HDF Tester2010-01-177-21/+21
|
* [svn-r18110] Description:Quincey Koziol2010-01-1522-553/+340
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring r18109 from trunk to 1.8 branch: Bring r18076-18096 from hdf5_1_8_coverity branch to trunk: r18076: Correct Coverity issue #1 by removing dead code r18077: Fix coverity item 142. When an error occurred while copying a linked list in H5S_point_copy, the library would not free the partially allocated list. Added code to free the list in this case. r18078: Correct Coverity issue #2 by removing impossible to reach code. r18079: Correct #3 by removing impossible to reach code. r18080: Correct Coverity issue #4 by removing impossible to reach code. r18081: fix coverity 26 , check (dblik->parent) before calls H5HF_man_iblock_detach(). r18082: Fixed coverity issues 321 and 316. 321: freed sm_buf in error handling to remove resource leak. Also set sm_buf to NULL after other instances in which it is freed to prevent double free. 316: initialized nmembs to 0. r18083: Correct Coverity issue #6 by removing debugging knob from error reporting code. r18084: Fix coverity item 269 + others. When a error occurred in a function using the h5tools error framework, the "past_catch" variable would not be set to true because that statement was before the label that goto jumped to. This could cause a failure in the cleanup section to go back to the start of the section, freeing variables twice, etc. Moved the label infront of past_catch=TRUE. r18085: fixed coverity #27, check if (heap) before use heap->obj.... r18086: fixed coverity #28, check curr_span not null before use it at if(curr_span && (io_bytes_left==0 || curr_seq>=maxseq)) r18087: Correct Coverity issue #7 by cleaning up correctly on error r18088: Correct Coverity #8 by removing unchanged variable checking code. r18089: Correct Coverity issue #9 - remove impossible to reach code. r18090: Correct Coverity issue #11 by removing impossible to reach code. Also clean up some minor style issues. r18091: Fix coverity items 314 and 318. Changed the improper assertion of the return value of a library function to a check, and a return(void) on failure. r18092: Fix coverity item 70. Changed the improper assertion of the return value of a library function to a check, and a return(void) on failure. r18093: Correct Coverity issue #12 by removing dead code. r18094: Correct Coverity issue #16 by removing debugging code. r18095: Fixed coverity issue # 271. Removed redundant checking and freeing of sm_buf1 and sm_buf2. r18096: Correct Coverity issue #17 by refactoring test to remove dead code. Also, removed previous "coverity" statements in comments, we'll review those issues again and see if we can figure them out, now that we have more experience with Coverity. Tested on: Mac OS X/32 10.6.2 (amazon) debug & prod
| * [svn-r18096] Description:Quincey Koziol2010-01-081-122/+107
| | | | | | | | | | | | | | Correct Coverity issue #17 by refactoring test to remove dead code. Tested on: Mac OS X/32 10.6.2 (amazon) w/debug
| * [svn-r18095] Fixed coverity issue # 271.Mike McGreevy2010-01-081-5/+0
| | | | | | | | Removed redundant checking and freeing of sm_buf1 and sm_buf2.
| * [svn-r18094] Description:Quincey Koziol2010-01-081-115/+0
| | | | | | | | | | | | | | Correct Coverity issue #16 by removing debugging code. Tested on: Mac OS X/32 10.6.2 (amazon) w/debug
| * [svn-r18093] Description:Quincey Koziol2010-01-081-34/+35
| | | | | | | | | | | | | | Correct Coverity issue #12 by removing dead code. Tested on: Mac OS X/32 10.6.3 (amazon) w/debug
| * [svn-r18092] Fix coverity item 70. Changed the improper assertion of the ↵Neil Fortner2010-01-081-1/+2
| | | | | | | | | | | | | | | | return value of a library function to a check, and a return(void) on failure. Tested: Fedora
| * [svn-r18091] Fix coverity items 314 and 318. Changed the improper assertion ↵Neil Fortner2010-01-081-2/+4
| | | | | | | | | | | | | | | | of the return value of a library function to a check, and a return(void) on failure. Tested: Fedora
| * [svn-r18090] Description:Quincey Koziol2010-01-084-15/+7
| | | | | | | | | | | | | | | | Correct Coverity issue #11 by removing impossible to reach code. Also clean up some minor style issues. Tested on: Mac OS X/32 10.6.3 (amazon) w/debug
| * [svn-r18089] Description:Quincey Koziol2010-01-081-6/+0
| | | | | | | | | | | | | | Correct Coverity issue #9 - remove impossible to read code. Tested on: Mac OS X/32 10.6.3 (amazon)
| * [svn-r18088] Description:Quincey Koziol2010-01-081-41/+1
| | | | | | | | | | | | | | Correct Coverity #8 by removing unchanged variable checking code. Tested on: Mac OS X/32 10.6.3 (amazon) w/debug
| * [svn-r18087] Description:Quincey Koziol2010-01-081-23/+28
| | | | | | | | | | | | | | Correct Coverity issue #7 by cleaning up correctly on error Tested on: Mac OS X/32 10.6.3 (amazon) w/debug
| * [svn-r18086] fixed coverity #28, check curr_span not null before use it at ↵Peter Cao2010-01-081-1/+1
| | | | | | | | if(curr_span && (io_bytes_left==0 || curr_seq>=maxseq))
| * [svn-r18085] Peter Cao2010-01-081-1/+2
| | | | | | | | fixed coverity #27, check if (heap) before use heap->obj....
| * [svn-r18084] Fix coverity item 269 + others. When a error occurred in a ↵Neil Fortner2010-01-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | function using the h5tools error framework, the "past_catch" variable would not be set to true because that statement was before the label that goto jumped to. This could cause a failure in the cleanup section to go back to the start of the section, freeing variables twice, etc. Moved the label infront of past_catch=TRUE. Tested: Fedora
| * [svn-r18083] Description:Quincey Koziol2010-01-081-29/+14
| | | | | | | | | | | | | | | | Correct Coverity issue #6 by removing debugging knob from error reporting code. Tested on: Mac OS X/32 10.6.3 (amazon) w/debug
| * [svn-r18082] Fixed coverity issues 321 and 316.Mike McGreevy2010-01-081-1/+6
| | | | | | | | | | | | | | | | 321: freed sm_buf in error handling to remove resource leak. Also set sm_buf to NULL after other instances in which it is freed to prevent double free. 316: initialized nmembs to 0.
| * [svn-r18081] fix coverity 26 , check (dblik->parent) before calls ↵Peter Cao2010-01-081-2/+5
| | | | | | | | | | | | | | | | H5HF_man_iblock_detach(). line, and those below, will be ignored-- M src/H5HFdblock.c
| * [svn-r18080] Description:Quincey Koziol2010-01-081-4/+0
| | | | | | | | | | | | | | Correct Coverity issue #4 by removing impossible to reach code. Tested on: Mac OS X/32 10.6.3 (amazon) w/debug
| * [svn-r18079] Description:Quincey Koziol2010-01-081-9/+0
| | | | | | | | | | | | | | Correct #3 by removing impossible to reach code. Tested on: Mac OS X/32 10.6.2 (amazon) w/debug
| * [svn-r18078] Description:Quincey Koziol2010-01-081-8/+1
| | | | | | | | | | | | | | Correct Coverity issue #2 by removing impossible to reach code. Tested on: Mac OS X/32 10.6.2 (amazon) w/debug
| * [svn-r18077] Fix coverity item 142. When an error occurred while copying a ↵Neil Fortner2010-01-081-8/+27
| | | | | | | | | | | | | | | | | | linked list in H5S_point_copy, the library would not free the partially allocated list. Added code to free the list in this case. Tested: Fedora
| * [svn-r18076] Description:Quincey Koziol2010-01-081-8/+1
| | | | | | | | | | | | | | Correct Coverity issue #1 by removing dead code Tested on: Mac OS X/32 (amazon) debug
* | [svn-r18106] bug 1673:Albert Cheng2010-01-1244-165/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The mixed use of RUNTEST (original) and RUNTESTS (new) caused confusion. E.g., the timings in test/ was still using the old $RUNTEST. It made more sense to use $RUNTEST which is used by the dejagnu feature of automake. So, I changed all $RUNTEST or $RUNTESTS to $RUNEXEC. config/commence.am & config/conclude.am are the two files that got changes. Also fixed an error in test/Makefile.am. The rest are changed by bin/reconfigure. Tested: h5committested.
* | [svn-r18103] Added new H5HLint.c file. Corrected nodebug parameter to check.Allen Byrne2010-01-113-3/+11
| | | | | | | | Tested: windows
* | [svn-r18101] SnapshotHDF Tester2010-01-107-21/+21
| |
* | [svn-r18099] Description:Scot Breitenfeld2010-01-084-55/+68
| | | | | | | | | | | | | | | | | | Merged changes from trunk/fortran into the branch used: svn merge -r 17682:18098 https://svn.hdfgroup.uiuc.edu/hdf5/trunk/fortran Tested on: jam (intel) amani (pgi)
* | [svn-r18073] Description:Quincey Koziol2010-01-0724-559/+1622
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring r18072 from trunk to 1.8 branch: Bring r18071 from metadata journaling merge branch: Refactor local heap routines with changes from metadata journaling branch, along with other misc. changes as the changes on the metadata journaling branch are being converged with the current state of the trunk. Tested on: Mac OS X/32 10.6.2 (amazon) debug & prod Linux/64 2.6 (amani) prod FreeBSD/64 (liberty) prod
* | [svn-r18069] Added entry to MANIFEST for new file config/ibm-aix.Larry Knox2010-01-061-0/+1
| | | | | | | | Tested chkmanifest on jam.
* | [svn-r18064] Purpose:Albert Cheng2010-01-051-0/+170
| | | | | | | | | | | | | | Port to AIX 6.1 for RS6000. Should be the same as PowerPC based AIX. Tested: Blue-print of NCSA.
* | [svn-r18063] Fix bug in links.c which occurs when zlib is disabled. This ↵Neil Fortner2010-01-041-1/+1
| | | | | | | | | | | | | | | | | | | | was fixed in the trunk in r17751, but was not ported to 1.8 because that feature (compress group fheap) had not beed added to 1.8 yet. This fix should have been ported to the cgfh branch at the time, but it was overlooked. Tested: Fedora (too small for commit test)
* | [svn-r18062] SnapshotHDF Tester2010-01-047-22/+22
| |
* | [svn-r18058] SnapshotHDF Tester2009-12-277-22/+22
| |
* | [svn-r18056] Bug fix: 1192Albert Cheng2009-12-268-26/+60
| | | | | | | | | | | | | | | | Description: Fixed exit code (sometimes return code in Main) to follow the HDF5 standards. Tested: Jam, both serial and parallel.
* | [svn-r18054] Updated for the moves of the testfiles.Albert Cheng2009-12-261-4/+2
| | | | | | | | Checked by bin/chkmanifest.
* | [svn-r18053] Bug fix: 1192Albert Cheng2009-12-2618-101/+155
| | | | | | | | | | | | | | | | Description: Fixed exit code (sometimes return code in Main) to follow the HDF5 standards. Tested: H5committested plus serial test in Jam.
* | [svn-r18052] Moved gif2h5 tools tesfiles from hl/tools/testfiles to ↵Albert Cheng2009-12-253-2/+2
| | | | | | | | | | | | | | | | | | hl/tools/gif2h5/testfiles so that it has its own testfiles directory. Tested: h5committested.
* | [svn-r18050] Bug fix: 1192Albert Cheng2009-12-257-33/+39
| | | | | | | | | | | | | | | | Description: Some exit code (sometimes return code in Main) to follow the HDF5 standards. Tested: H5committested plus serial test in Jam.
* | [svn-r18049] SnapshotHDF Tester2009-12-217-22/+22
| |
* | [svn-r18046] Description:Quincey Koziol2009-12-204-15/+13
| | | | | | | | | | | | | | | | | | | | | | | | Bring r18045 from trunk to 1.8 branch: Slush changes back & forth between trunk, the merging branch and the metadata journaling branch to level them out to a reasonably common set of code to work from for the next set of more significant changes. Tested on: FreeBSD/32 6.3 (duty) w/debug (h5committested on trunk)
* | [svn-r18042] Description:Quincey Koziol2009-12-194-43/+43
| | | | | | | | | | | | | | | | | | | | | | Bring r18039 from trunk to 1.8 branch: Minor code cleanups, to align better w/ongoing metadata journaling convergence. Tested on: Mac OS X/32 10.6.2 (amazon) w/debug (too minor to require h5committest)
* | [svn-r18038] Description:Quincey Koziol2009-12-1922-605/+413
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring r18037 from trunk to 1.8 branch: Bring r18035 from merge_metadata_journaling branch to trunk: More "brush clearing" convergence between metadata_journaling branch and the trunk. Tested on: Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode (h5committested on trunk)
* | [svn-r18034] Description:Quincey Koziol2009-12-191-5/+3
| | | | | | | | | | | | | | | | | | Bring r18033 from trunk to 1.8 branch: Correct error in merging Coverity changes in r18011 Tested on: None - eyeballed only (very simple)
* | [svn-r18032] Description:Quincey Koziol2009-12-1778-1947/+757
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring r18031 from trunk to 1.8 branch: Bring r18030 from merge_metadata_journaling branch to trunk: Bring "brush clearing" changes (whitespace & style issues, mostly) from metadata_journaling branch to the "merging" branch, to converge the trunk and the metadata_journaling branch. Also, some other minor cleanups along the way. Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode (h5committested on trunk)
* | [svn-r18026] On Boeing's OpenVMS, the value of EXIT_FAILURE is 268435458.Raymond Lu2009-12-161-1/+8
| | | | | | | | | | | | | | | | (The test is in test_exit_definitions.) Their document says it's supposed to be 2. I commented it out for further consideration. Tested on jam - simple change.
* | [svn-r18023] I removed a duplicated line from the read_old function. There ↵Raymond Lu2009-12-161-3/+0
| | | | | | | | | | | | | | | | were 2 identical calls to the function H5Fopen. Tested on jam and OpenVMS.
* | [svn-r18021] I added tlinks to testhdf5.Raymond Lu2009-12-161-1/+2
|/ | | | Tested v1.8.4 on OpenVMS.
* [svn-r18014] SnapshotHDF Tester2009-12-147-22/+22
|
* [svn-r18013] Description:Quincey Koziol2009-12-1316-445/+514
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring r18011 from trunk to 1.8 branch: Bring Coverity changes into the trunk: (also other minor cleanups) r17991: Fix Coverity items 175 and 176. Fixed memory leak on error in print_enum in H5LT.c. r17993: (r17992 was not a Coverity change) Close Coverity issue #206: inconsistently checking whether dt->shared was non-NULL after H5T_alloc() returned a valid 'dt' value (which should guarantee that dt->shared is valid). r17994: Fix Coverity item 149. Fixed file handle leak on error in H5FD_stdio_open. r17995: Fixed Coverity issues 154 to 161: Added H5MP_close routine to error handling in the event *mp has not been freed before error. r17996: Close Coverity issue #126: potentially leaking merged_spans on routine failure. r17997: Fix Coverity items 147 and 148. Fixed resource leaks on error in H5FDloc.c. r17998: Coverity issue 269-272: Added integer result variable to functions that could return negative. Assigned to unsigned after checking. Added H5E_BEGIN_TRY block around H5Tclose and removed H5E_THROW in the catch block. Checked buffer is NULL before free. Changed HGOTO_ERROR outside of the if block to H5E_THROW. r17999: Close Coverity issue #127: release temporary spans in more generic manner. (Also add error checking to previous fix) r18000: Resolved Coverity issues 211 and 212 in H5T.c. Added comments to ignore Coverity warning regarding not checking pointer for NULL, as we are using an assert which catches the issue. r18001: Fix Coverity item 146. Fixed resource leak on error in H5O_layout_copy. r18002: Fix Coverity items 143 and 145. Fixed resource leaks on error in H5D_compact_copy and H5D_contig_copy. r18003: Close Coverity issue #192: close file on error r18004: Fix Coverity issue #125: release temporary spans on error r18005: Resolved Coverity issues 5, 25, and 83 (in H5T.c): Separated embedded functions in order to check for NULL on return of H5I_object before passing into H5T_copy. Check to see if new_dt is NULL within error handling before dereferencing it. Ignore Coverity's dead code warnings as the checks that lead to the code are machine dependent. r18006: Coverity 63,70,73: Checked result of function before assigning to an unsigned variable. r18007: Coverity 78,79: added continue statement if H5Pget_filter2 returns negative. r18008: Fixed Coverity issue # 138: Added support in error handling to free dst pointer (if allocated) on error. r18009: Whitespace & coding style cleanup Tested on: Mac OS X/32 10.6.2 (amazon) w/debug & production (h5committested on trunk)