[svn-r23263] Test dependencies were incorrect and test outside macros did not always execute in the correct order. Created new macro for h5import test verification. Corrected intra-macro test dependencies. Fixed clear tests.Tested: local linux
[svn-r23262] Updated with bug fix entry of HDFFV-8267.Since this is a testing code error that does not affect the function of the
library or tools, I started a new "Testing" section for this sort of changes.
[svn-r23260] Bug fix: HDFFV-8267 The ERROR macro had a typo of missing a separator comma. When used, it seg. fault. Added the comma back in. Fix is reviewed in Crucible HDF5-107.Tested: h5committest passed. Also tested using the ERROR macro in the
Mac (Owl) platform. Before fix, it seg. fault. After fix, it prints the
message as intended.
[svn-r23238] Description: Bring changes from Coverity branch to trunk:r20528:
Purpose: Fix coverity issue 1372
Description: Rewrite file open secition of H5FD_stdio_open to avoid TOCTUO
condition. No longer calls access, and uses a tentative open in "rb" or "rb+"
mode to check for existence of the file.
r20609:
Use HDstrncpy and HDstrncat. --gh
r20611:
Use HDstrncpy. --gh
Tested on:
Mac OSX/64 10.8.2 (amazon) w/debug, C++ & FORTRAN
(h5committest not...
[svn-r23237] Purpose: Implement H5Dscatter and H5DgatherDescription:
Adds 2 new API functions, H5Dscatter and H5Dgather. H5Dscatter retrieves data
from a specified callback function and scatters it into a selection, defined by
a supplied dataspace, within a supplied memory buffer. H5Dgather gathers data
from a selection within a supplied memory buffer and passes it in a contiguous
form to a supplied callback function. Added tests for these functi...
[svn-r23235] Fix for: HDFFV-7909 When building with g95 on Mac OS X 64-bit, the wrong options (gfortran) are used Tested: duck (gfortran, g95 (which is not supported))
[svn-r23230] Purpose: Implement H5Dscatter and H5DgatherDescription:
Adds 2 new API functions, H5Dscatter and H5Dgather. H5Dscatter retrieves data
from a specified callback function and scatters it into a selection, defined by
a supplied dataspace, within a supplied memory buffer. H5Dgather gathers data
from a selection within a supplied memory buffer and passes it in a contiguous
form to a supplied callback function. Added tests for these functi...
[svn-r23228] Purpose: Revert back one of the coverity updates from previous checkin. "r20457: Coverity issue 691" in previous svn log. Only revert the change about using "STDOUT_FILENO".Description:
Using "STDOUT_FILENO" caused error on Windows. On unix it's defined in <unistd.h>, but not in Windows. After a little discussion with Allen, he remembered how the similar case were handled for h5dump redirecting those streams. (in h5dump.c) However it would requires more attention to apply, so this issue is entered as a separate task in jira HDDFV-8306.
Tested:
jam ...
[svn-r23223] Description: Revert use of snprintf() for sprintf(), as it is not supported on Windows. (And file a bug, http://jira.hdfgroup.uiuc.edu/browse/HDFFV-8302, for the general problem)Tested:
Mac OSX/64 10.8.2 (amazon)
[svn-r23219] Description: Bring reviewed changes from Coverity branch back to trunk (QK & JK):r20457:
Coverity issue 691: return of H5duo could be negative. Fixed by using
STDOUT_FILENO and redesign parse_command_line and main to cleanup file
allocations. The output_file var is null when using stdout. In cleanup do not
close output_file if NULL.
r20510:
Initialize ufid = -1 and predicate HDclose call on ufid != -1
r20511:
Purpose: Fix coverity issue 1715
Description: Free "file" and ...