Commit Graph

2456 Commits

Author SHA1 Message Date
Albert Cheng
fc4c7a05f6 [svn-r23517] Rewrirte part of the script that copy the libdynlib libraries and check
for result.

h5committested. (Cmake in Duck has errors but the error are not related to
this change.
2013-04-02 00:07:20 -05:00
Raymond Lu
075334af96 [svn-r23514] I forgot to add the new file dynlib3.c in last commit. 2013-04-01 18:30:08 -05:00
Raymond Lu
72e84fcd82 [svn-r23513] I added a test case in plugin.c for testing using filter for groups and created a dummy filter library for this test case.
Tested on jam and koala.
2013-04-01 18:28:48 -05:00
Larry Knox
e679eed61b [svn-r23511] Replaced install-data-local with install-exec-hook in test/Makefile.am.
tested with h5committest
2013-04-01 17:45:02 -05:00
Raymond Lu
ed621aae38 [svn-r23494] I added another filter library dynlib2.c for plugin.c test. The test script moves the libdynlib2.so to /tmp then runs
plugin.c.

Tested on jam and koala.
2013-03-29 15:59:15 -05:00
Allen Byrne
5e5e9e3987 [svn-r23493] Correct improper addition 2013-03-29 15:46:48 -05:00
Albert Cheng
59bb6d185e [svn-r23492] Bug fix:
Test was not checking error result. It basically return succeess to make check
all the time.

Fixed it so that it does check the return code of the test (plugin) and set
nerror accordingly.  It then exit 1 if there is any error detected.

Test: use the desy committest to pass on jam, koala, ostrich, duck and emu.
Also hand test by "rm test/.lib/libdynlib1* to verify the test script can
indeed response to errors properly.
2013-03-29 15:22:40 -05:00
Allen Byrne
c1c11c021b [svn-r23491] Add test_plugin.sh to list of cleanup files 2013-03-29 14:51:49 -05:00
Raymond Lu
3374ffecf8 [svn-r23482] I changed the plugin library to be built as shared library only when configure enables shared. libtool will install the shared plugin library. I put a remove command in test/Makefile.am to delete the unnecessary plugin library.
Tested on jam, koala, and emu.
2013-03-28 15:14:11 -05:00
Allen Byrne
9138b343aa [svn-r23480] Reposition conditional and libtool commands. 2013-03-28 12:17:19 -05:00
Allen Byrne
5f8f3dcb79 [svn-r23467] Remove subdirectory.
Tested: local linux
2013-03-27 11:11:21 -05:00
Raymond Lu
5b12b8e122 [svn-r23465] I moved dynlib1.c to test/ directory and revised the Makefile.am in test/. I added the condition to skip
plugin.c test when the library is built for static.

Tested on jam, koala, and emu.
2013-03-27 10:39:16 -05:00
Allen Byrne
dabebe412f [svn-r23447] Add new env var to prevent filter plugin loading
Tested: jam
2013-03-25 12:39:14 -05:00
Raymond Lu
865bf6bcb2 [svn-r23435] ported revisions 23346:23432 from the trunk 2013-03-22 17:29:55 -05:00
Raymond Lu
8ffd55478e [svn-r23432] I added a new macro HDF5_PLUGIN_PRELOAD to skip plugin loading during data reading.
Tested on koala and jam.
2013-03-22 16:39:53 -05:00
Allen Byrne
fb169f7aa9 [svn-r23405] Correct typo 2013-03-20 13:37:35 -05:00
Allen Byrne
59a9d9a0c6 [svn-r23403] Refactor windows code:
windows uses ';' as path separator
windows default path is different
windows find files needs '*.*'
2013-03-20 13:21:28 -05:00
Allen Byrne
6563fc39b1 [svn-r23402] Plugin Library needs own dll decorator
Tested: windows
2013-03-20 11:14:53 -05:00
Raymond Lu
76d6b9f4db [svn-r23401] I cleaned up the test.
Tested on koala.
2013-03-20 10:50:52 -05:00
Raymond Lu
61b39ecc7c [svn-r23400] I updated Makefile.in for Mac.
Tested on MacGoblin and koala.
2013-03-20 10:13:17 -05:00
Allen Byrne
4f1c1bbf1a [svn-r23390] Remove dll decoration from local function 2013-03-19 16:10:39 -05:00
Allen Byrne
cec54e1fa0 [svn-r23389] HDFFV-8338: remove unused headers 2013-03-19 15:57:18 -05:00
Allen Byrne
40b7936a5b [svn-r23387] Add dynamic windows decorations 2013-03-19 15:19:06 -05:00
Allen Byrne
b587321096 [svn-r23384] Copy dynamic lib to a plugins folder for testing. This will avoid the segfault with looking for the library with other libraries.
Tested: local linux
2013-03-19 14:20:54 -05:00
Quincey Koziol
af9a3abb3d [svn-r23380] Description:
Review & cleanup code.
2013-03-18 23:22:34 -05:00
Raymond Lu
f6f202dc71 [svn-r23359] I added some macros and refactoring the code to prepare for Windows support.
Tested on koala.
2013-03-15 16:25:30 -05:00
Allen Byrne
7f44286aa5 [svn-r23358] correct env var value for test 2013-03-15 14:10:16 -05:00
Allen Byrne
2923f64c28 [svn-r23357] HDFFV-8338: Add cmake support, this commit only tested for linux
Tested: local linux
2013-03-15 13:28:37 -05:00
Allen Byrne
dadea7dc74 [svn-r23354] Close prop list var 2013-03-15 10:26:55 -05:00
Raymond Lu
e37ee97a58 [svn-r23350] I cleaned up some code and added comments for my previous checkin of the DESY project.
Tested on koala.
2013-03-14 15:00:48 -05:00
Raymond Lu
08359be858 [svn-r23347] ported revision 23248:23346 from the trunk 2013-03-13 17:34:23 -05:00
Raymond Lu
55822485c6 [svn-r23346] First commit for DESY project. It has the basic functionality of loading dynamically filter libraries and a simple test for it.
Tested on koala.
2013-03-13 14:35:26 -05:00
Albert Cheng
dd0a7fa13b [svn-r23336] Discovered some typo in the last added comment. Rewrote the comment.
Tested: no need since only comments are changed.
2013-03-07 14:58:45 -05:00
Allen Byrne
dbd93b2c55 [svn-r23332] HDFFV-8322: for valgrind testing, split-up testhdf5 tests by excluding and running long running tests separately.
Tested: local linux
2013-03-06 12:26:48 -05:00
Albert Cheng
110d933a57 [svn-r23329] Bug fix: HDFFV-8305
Some systems, like Mac, strings inspect library files and older versions
of strings maybe know newer library format, resulting in errors.
Make it read the file as stdin, avoiding this problem. 

Tested: h5committest. all passed.
2013-03-06 01:13:45 -05:00
Allen Byrne
2195fe47db [svn-r23326] Refactor testhdf5 for memcheck testing. Test longest running options using only. 2013-03-05 15:16:51 -05:00
Allen Byrne
77dedb3c64 [svn-r23322] HDFFV-8322: Close resources, found from valgrind testing
Tested: local linux
2013-03-01 15:09:40 -05:00
Allen Byrne
00eea738d6 [svn-r23320] Close resources, found from valgrind testing
Tested: local linux
2013-02-27 12:32:56 -05:00
Allen Byrne
aff5c20a6a [svn-r23305] HDFFV-8257: szip still used even if headers are not found. Change configure to test the result of the CHECK HEADERS call before checking for the library.
Tested: local linux, h5committest
2013-02-18 15:56:21 -05:00
Albert Cheng
e8a0753656 [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.
2013-02-12 16:36:54 -05:00
Neil Fortner
692fa69934 [svn-r23237] Purpose: Implement H5Dscatter and H5Dgather
Description:
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 functions

Tested: jam, ostrich, koala (h5committest); ummon
2013-02-08 11:49:21 -05:00
Neil Fortner
400bf73d17 [svn-r23234] Fix out-of-bounds errors on pgcc for H5Dscatter and H5Dgather tests.
Tested: jam (pgcc), ummon (gcc)
2013-02-07 16:57:57 -05:00
Neil Fortner
0e3517d34f [svn-r23230] Purpose: Implement H5Dscatter and H5Dgather
Description:
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 functions

Tested: jam, ostrich, koala (h5committest); ummon
2013-02-05 12:07:02 -05:00
Quincey Koziol
a3e98d0e36 [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 nested data on failure in H5FD_core_open.

r20512:
Initialize ifid = -1 and predicate HDclose call on ifid != -1

r20514:
Initialize h5fid = -1 and predicate HDclose call on h5fid != -1

r20516:
Added else branch to the if (ret_value < 0) check.

r20522:
Addressed coverity issues 930-933, 850, 836, 835, 1307.  All minor 
potential buffer overwrite bugs, or coverity errors.  Fixed by replacing
strcpy and sprintf with strncpy and snprintf.

r20523:
fixed coverity issues 68, 1120, 1116i

r20524:
Check  H5Z_SZIP->encoder_present < 1 assuming 0 represents absence.

r20601:
Purpose: Fix coverity issues 1703-1705

Description: Modified the cleanup code in test_free in accum.c to reset
allocated buffers to NULL after they are freed, and modified the error cleanup
code to check if these buffers are NULL before freeing them.  Also fixed some
unrelated warnings in accum.c.

r20602:
Use HDsnprintf and HDstrncat

r20603:
Purpose: Fix coverity issues 808-809

Description: Modified test_core in vfd.c to check the returns from malloc, and
keep track of whether points and check are allocated by setting them to NULL
when they are not.  Added code to free points and check on error if they are
not NULL.  Also fixed unrelated warnings in vfd.c.

r20604:
Use HDstrncpy.

r20605:
Use HDstrncpy and HDstrncat.

r20606:
Purpose: Fix coverity issue 807

Description: Modified long_compact in stab.c to keep track of whether objname is
allocated by setting it to NULL when it is not.  Added code to free objname on
error if it is not NULL.

r20607:
Changed string function calls to use versions that specify the string length
to fix coverity issues 832 and 839.


Tested on:
    Mac OSX/64 10.8.2 (amazon)
    (Too minor to require h5committest)
2013-02-01 20:53:32 -05:00
Raymond Lu
c9aad08a90 [svn-r23161] ported revisions 23146:23160 from the trunk 2013-01-14 14:45:59 -05:00
Raymond Lu
3a7b11863a [svn-r23152] I took out the obsolete function H5PSIwrite_chunk and its related test and performance test.
Tested on koala.
2013-01-11 16:34:31 -05:00
Raymond Lu
7b895e1dd8 [svn-r23149] I put more condition checks with macro when DEFLATE filter is disabled.
Tested on koala.
2013-01-10 11:04:09 -05:00
Raymond Lu
81bcd314a9 [svn-r23147] ported revisions 23081:23145 from the trunk 2013-01-09 15:23:07 -05:00
Raymond Lu
6050e78143 [svn-r23097] I changed H5Dopen to H5Dopen2 in test/dectris_tst.c and hl/test/test_dset_opt.c. I added
hl/test/dectris_hl_perf.c
    perform/dectris_perf.c
    test/dectris_tst.c

Tested on koala.
2012-12-13 11:13:43 -05:00
Raymond Lu
b7041a91cd [svn-r23017] I added a prototype function H5DOwrite_chunk in HL library for Dectris people to test performance. The library's API function H5PSIdirect_write
is still in.  I reorganized the internal library by adding H5D__pre_write function.

Tested on koala.
2012-11-07 12:08:46 -05:00
Raymond Lu
0cf58a4755 [svn-r22987] ported revisions from 22742 to 22986 from the trunk 2012-10-29 13:59:05 -05:00
Raymond Lu
9ce6dadd48 [svn-r22739] ported revisions 22615 to 22737 from the trunk 2012-09-05 13:13:15 -05:00
Allen Byrne
1f8fb63581 [svn-r22709] HDFFV-8129: reconfigured on jam, Remove overloading of autotools TESTS var, rename configure.in to configure.ac, convert test scripts from hard *.sh to configure managed *sh.in files.
Tested: h5committest
2012-08-23 11:07:43 -05:00
Larry Knox
edf83e5d1f [svn-r22706] Updated autotools: autoconf 2.69, automake 1.12.3, m4 1.4.16, libtool 2.4.2
Tested THG machines.
2012-08-22 00:00:32 -05:00
Vailin Choi
a9602d1b34 [svn-r22676] Changes needed to make the default free-list mapping from H5FD_FLMAP_SINGLE to H5FD_FLMAP_DICHOTOMY. 2012-08-13 15:04:20 -05:00
Quincey Koziol
d20da589dd [svn-r22668] Description:
Have free space manager use temporary address space for storing the
section info, until the file is flushed or closed.

Tested on:
    Mac OSX/64 10.7.4 (amazon) w/debug, gcc 4.7.x, C++, FORTRAN & threadsafe
    (h5committest forthcoming)
2012-08-11 16:27:58 -05:00
Raymond Lu
527a6edb3e [svn-r22655] Dectris project - I changed the rank of the offset for H5PSIdirect_write from RANK+1 to RANK. But internally, it expands to RANK+1 as
the library requires it to terminate with a zero.

Tested on koala.
2012-08-09 15:24:56 -05:00
Raymond Lu
3b3ae10c5b [svn-r22653] Dectris project: I revised the code per Quincey's suggestion.
Tested on koala.
2012-08-09 14:59:43 -05:00
Quincey Koziol
88a94bbe7f [svn-r22646] Description:
Changes resulting from Klocwork static analysis tool, from Mark Miller
@ LLNL (miller86@llnl.gov).

Tested on:
    Mac OS X/64 10.7.4 (amazon) w/debug, C++ & FORTRAN, using gcc 4.7.x
    (too minor to require h5committest)
2012-08-08 18:01:20 -05:00
Raymond Lu
faba610060 [svn-r22641] Dectris project: I revised the code per Quincey's and Neil's comments. I added a performance benchmark program dectris_perf.c in the test/ directory.
Tested on koala and jam.
2012-08-08 11:08:27 -05:00
Raymond Lu
8a0b4729cd [svn-r22616] The code for H5PSIdirect_write and its test dectris_tst.c.
Tested on koala and jam.
2012-07-30 17:14:46 -05:00
Neil Fortner
c04144fb39 [svn-r22601] Purpose: Fix HDFFV-5853
Description:
When jumping out from between H5_BEGIN_TAG and H5_END_TAG macros using
HGOTO_ERROR or HGOTO_DONE, the previous metadata tag is not reset on the dxpl.
This could cause problems when, for example, calling H5Ocopy within an
H5Literate callback.

Added new HGOTO_ERROR_TAG and HGOTO_DONE_TAG macros which must be used in place
of the above between H5_BEGIN_TAG and H5_END_TAG.

Tested:
jam, koala, ostrich (h5committest), durandal
2012-07-25 16:50:22 -05:00
Quincey Koziol
75f4e51a1a [svn-r22582] Description:
Refactor ID class registration to be more like how other "class"s in the
library are registered, and clean up compiler warnings.

Tested on:
    Mac OSX/64 10.7.4 (amazon) w/debug
    (Too minor to require h5comittest)
2012-07-16 14:54:26 -05:00
HDF Tester
02a0bd53e8 [svn-r22487] Snapshot version 1.9 release 122 2012-06-24 09:29:36 -05:00
Quincey Koziol
76c13682e4 [svn-r22486] Description:
Fix typo with last change and reformat a little bit
2012-06-23 18:42:09 -05:00
Quincey Koziol
5f8d6d5bb5 [svn-r22484] Description:
Copy the file image test file from the source directory to the build
directory, instead of trying to open the [in-memory] file R/W.

    Also, clean up a few other test files that were left lying around from
other tests.

Tested on:
    MacOSX/64 10.7.4 (amazon) w/debug
    Too minor to require h5committest
2012-06-23 18:32:02 -05:00
Vailin Choi
73db2056a3 [svn-r22444] (1) fix for making MEM_GHEAP as MEM_DRAW
(2) fix to extend into the aggregator based on threshold
(3) fix for the "flavor" logging problem
(4) fix for test failures due to the above fixes
(5) bug fix for h5stat when h5stat against a non-existing file
2012-06-07 11:04:56 -05:00
Allen Byrne
eb5b8163f9 [svn-r22411] reduce compiler warnings by removing unreferenced variables and adding cast
Tested: local linux
2012-05-25 12:39:07 -05:00
Raymond Lu
955b84369e [svn-r22393] I forgot to close a few datatypes in test_str_create. I fixed them in this commit.
Tested on jam - very simple change.
2012-05-23 09:42:43 -05:00
Mohamad Chaarawi
7aaa1ad229 [svn-r22375] add a test to expose a memory leak when adding/removing the same property in property list multiple times.
fix that bug.

test with h5committest
2012-05-18 09:08:58 -05:00
Quincey Koziol
a07c8f9247 [svn-r22287] Description:
Clean up more FUNC_ENTER/FUNC_LEAVE macros and move H5D & H5T code toward
the final design (as exemplified by the H5EA & H5FA code).

Tested on:
    Mac OSX/64 10.7.3 (amazon) w/debug & parallel
2012-04-16 16:20:26 -05:00
Allen Byrne
09fa6e9c54 [svn-r22263] Use correct index for inserting null terminator
Tested: windows under debug
2012-04-09 12:25:17 -05:00
Allen Byrne
fad3139684 [svn-r22247] Added new files and tests to CMakeLists.txt
Tested: local linux
2012-04-04 13:01:29 -05:00
Quincey Koziol
42306f8ed4 [svn-r22233] Description:
Correct several errors in fractal heap code: root indirect block was
getting pinned/protected more than once, "single" free space sections weren't
getting "re-parented" correctly when the heap transitioned between having a
root indirect block and a root direct block, and several related issues.  Also
cleaned up some warnings in library/tests.

Tested on:
    FreeBSD/32 8.2 (loyalty) w/gcc4.6, w/C++ & FORTRAN, in debug mode
    FreeBSD/64 8.2 (freedom) w/gcc4.6, 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 (koala) w/Intel compilers, w/default API=1.6.x,
        w/C++ & FORTRAN, in production mode
    Mac OSX/64 10.7.3 (amazon) w/debug
2012-04-01 18:53:17 -05:00
Quincey Koziol
982f1ff8ff [svn-r22229] Description:
Add 'H5O_mcdt_search_cb_t' to bin/trace script and re-run the
bin/reconfigure script.

Tested on:
        FreeBSD/32 8.2 (loyalty) w/gcc4.6, w/C++ & FORTRAN, in debug mode
        FreeBSD/64 8.2 (freedom) w/gcc4.6, 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 (koala) w/Intel compilers, w/default API=1.6.x,
                w/C++ & FORTRAN, in production mode
2012-04-01 17:32:04 -05:00
Quincey Koziol
c2a9dcb897 [svn-r22219] Description:
Merge "file image" changes from feature branch back to trunk.

Tested on:
    Mac OSX/64 10.7.3 (amazon) w/debug
    (h5committest upcoming)
2012-03-31 03:49:35 -05:00
Neil Fortner
8448745891 [svn-r22173] Purpose: Fix HDFFV-7762
Description:
When copying an object with attribute creation order tracked, the attribute
creation order was not copied correctly to the destination file, causing an
error if the creation order was also indexed (due to attempting to insert
duplicate keys) or incorrect creation orders otherwise.  Fixed to copy the
creation order correctly.

Also fixed the attribute character set not being copied, and fixed an issue
where an attribute opened with H5Aopen (or similar, but not by_idx), from an
object using the latest format but without creation order being tracked, would
always report the creation order as 0 (and marked as valid).

Tested: jam, koala, ostrich (h5committest), durandal
2012-03-28 16:02:30 -05:00
Quincey Koziol
35a0e27e88 [svn-r22171] Description:
Bring "merge committed datatypes during H5Ocopy" feature from branch to
trunk.  (Also has some minor bugfixes with it)

Tested on:
    Mac OSX/64 10.7.3 (amazon) w/debug
    (h5committest coming up)
2012-03-28 14:45:49 -05:00
Vailin Choi
b643da672a [svn-r22164] Fixed a bug in H5Ocopy(): When copying an opened object, call the object's
flush class action to ensure that cached data is flushed so that H5Ocopy will get
the correct data.  (HDFFV-7853)
2012-03-28 01:21:14 -05:00
Dana Robinson
e4291accaa [svn-r22161] Added a message when the time-consuming test is skipped due to a lack of sparse file support.
Minor change: tested on 64-bit Windows 7
2012-03-27 16:49:08 -05:00
Dana Robinson
2b3a190501 [svn-r22152] Added a "skipped" message to the istore sparse test function.
Minor change: tested on jam (test not skipped) and Mac OS-X Lion (test skipped
due to HFS not supporting sparse files).
2012-03-26 16:11:50 -05:00
Quincey Koziol
b7d9ed39c2 [svn-r22112] Description:
Minor code safety issue in test/fheap.c and whitespace in other files.

Tested on:
	Mac OSX/64 10.7.3 (amazon) w/debug
	(Too minor to require h5committest)
2012-03-21 15:25:52 -05:00
Dana Robinson
ada561507a [svn-r22111] Removed incorrect 'executable' svn properties. 2012-03-21 15:01:10 -05:00
Dana Robinson
48688a2dbc [svn-r22110] Removed incorrect 'executable' svn properties. 2012-03-21 14:50:28 -05:00
Dana Robinson
9f18db936f [svn-r22103] Fix for HDFFV-7769 (HDF5 tests time out on Windows when core VFD is set).
This occurs due to the istore test creating very large files on systems which
do not have POSIX-like sparse file semantics.  The large amount of I/O causes
the test to run for a very long period of time.

The fix was to copy the "big" test's sparse file check and only run the
largest sparse file test when POSIX-like sparse file semantics are found.

Tested on:

jam (nfs)
ostrich (nfs)
loyalty (ufs)
64-bit linux VM (ext4)
64-bit OS-X Lion (hfs, detected as not POSIX sparse)
64-bit Windows 7 (NTFS, detected as not POSIX sparse)

The OS-X failure to pass the sparse check is likely an error and will be
entered as a new bug.
2012-03-20 16:42:38 -05:00
Raymond Lu
b337ae979d [svn-r22076] #Issue 7922 - H5Pset_data_transform had seg fault with some operations like x*-100.
The parser mistaked "-" as substraction.  I fixed it and also fixed another problem
with some special cases like 100-x and 2/x.

Tested on jam, koala, and ostrich.
2012-03-15 15:53:14 -05:00
Neil Fortner
3ee8b91dee [svn-r22072] Purpose: Fix rare corruption bug (HDFFV-7879)
Description:
When using the new object header format, it was possible for corruption to occur
if the first object header chunk changed size such that the lenght of the "chunk
0 size" field changed.  This only occurred if there were messages that had not
been decoded.  The original algorithm that changed the object header chunk size
marked all messages as dirty, causing those that had not been decoded to have
both the raw and native form invalidated.  Changed the algorithm to avoid
marking messages dirty and added assertions to catch the case where messages
are dirtied without being decoded (or recently created) first.

Tested: jam, koala, ostrich (h5committest), durandal
2012-03-15 14:16:24 -05:00
Neil Fortner
d849a118c2 [svn-r22070] Purpose: Fix rare corruption bug
Description:
When using the new object header format and adding an attribute with a size near
64K, it was possible for file corruption to occur.  This happened only if the
first object header chunk was smaller than 256 bytes and then grew to larger
than 64K after the attribute was added.

Tested: ostrich, jam, koala (h5committest), durandal
2012-03-15 13:42:51 -05:00
Quincey Koziol
f698c360f5 [svn-r22053] Description:
Correct corner case for creating a contiguous dataset with a zero-sized
dataspace, when the allocation time is set to early.

    Also clean up a few compiler warnings in the dataspace code.

Tested on:
    Mac OSX/64 10.7.3 (amazon) w/debug & parallel
2012-03-12 16:45:38 -05:00
Allen Byrne
058f9c2056 [svn-r22024] Add HD prefix to tools library based tests. Cleaned allocation/free in tests.
Tested: local linux/ changes h5committetest against 1.8 version
2012-03-05 09:17:14 -05:00
Quincey Koziol
a056968dbd [svn-r21934] Description:
Remove some leftover uses of the __FUNCTION__ macro, replacing them with
FUNC macro, as used everywhere else.

Tested on:
    Mac OSX/64 10.7.3 (amazon) w/debug, production & parallel
    (too minor to require h5committest)
2012-02-13 10:31:35 -05:00
Quincey Koziol
3d9e0b86ac [svn-r21923] Description:
Add FUNC_ENTER macros for package-private routines and begin process of
switching package routines to use them.  All H5G routines are currently
finished.

Tested on:
    Mac OSX/64 10.7.3 (amazon) w/debug, production & parallel
2012-02-09 21:16:52 -05:00
Raymond Lu
7bd8d0f25e [svn-r21904] This is a followup commit for Issue 7756 - Creating a dataset in a read-only file caused seg fault when the file is closed. I changed the error ID from H5E_CACHE to H5E_OHDR in the error report macro in H5O_create and fixed a minor problem in tfile.c.
Tested on jam and MacGoblin - minor changes.
2012-02-02 12:02:28 -05:00
Raymond Lu
394caf9adf [svn-r21891] Issue 7756 - Creating a dataset in a read-only file caused seg fault when the file is closed. I fixed the problem by putting a condition check early in H5O_create of H5O.c. The old code checked it too late, not until a file space is created. I added a test case in tfile.c to check the creation of group, dataset, attribute, and datatype.
Tested on koala, jam, and linew.
2012-01-25 15:06:09 -05:00
Allen Byrne
cc3eb8da73 [svn-r21804] Update CMake Required version in all folders to match current standard 2.8.6 2011-12-05 11:19:09 -05:00
Neil Fortner
414e34edb9 [svn-r21801] Remove unintentional change to dsets.c from r21793.
Tested: durandal
2011-12-05 10:44:04 -05:00
Neil Fortner
d34c5fdb79 [svn-r21793] Add RELEASE.txt note for r21789 2011-12-01 13:35:54 -05:00
Neil Fortner
738a33556c [svn-r21792] Add ^L marker to test introduced in r21789 2011-12-01 10:48:32 -05:00
Neil Fortner
19f75c804a [svn-r21789] Purpose: Fix HDFFV-7833
Description:
When shrinking a chunked dataset, the library fills in the unused parts of
chunks that have been shrunk.  The fill value buffer allocated for this purpose
had a maximum size of 1 MB, but the fill was performed in a single operation.
Therefore, if the amount of unused space in a chunk after being shrunk was
greater than 1 MB, the library would read off the end of the fill value buffer.
Changed the maximum fill buffer size to be equal to the chunk size.

Tested: durandal; jam, koala, heiwa (h5committest)
2011-12-01 10:00:27 -05:00
Raymond Lu
6e0f6e4ebc [svn-r21736] Issue 7582 - The library allowed the conversion of strings between ASCII and UTF8. I added more test cases to the previous commit. Now it has conversion from UTF8 to ASCII, ASCII to UTF8, VL and fixed length, and H5Tconvert.
Tested on jam, koala, linew.
2011-11-10 15:08:39 -05:00
Raymond Lu
68da0f7736 [svn-r21734] Issue 7582 - The library allowed the conversion of strings between ASCII and UTF8. I corrected it by adding a condition check in H5T_conv_s_s and H5T_conv_vlen to report an error under this situation.
Tested on jam, koala, linew.
2011-11-08 17:34:00 -05:00
Allen Byrne
df6eecae77 [svn-r21712] Change export decoration for windows linking. 2011-11-04 08:40:10 -05:00
Quincey Koziol
0381963da6 [svn-r21675] Description:
Don't check dataset storage size for compressed datasets with region
reference datatypes.  (The address of the region reference type in the file
varies and affects the compressed size)

Tested on:
    Mac OS X/32 10.7.2 (amazon) w/debug & production + check-vfd
2011-10-26 09:55:23 -05:00
Raymond Lu
c61a0a3d62 [svn-r21674] Issue 7618 - the library had seg fault when it tried to shrink the size of compound data type through H5Tset_size immedia
tely after the type was created.  I fixed it in this commit.

Tested on jam, linew, and koala.
2011-10-26 09:25:16 -05:00
Allen Byrne
c5e075851a [svn-r21667] Update FOLDER solution option for target properties. Added OPTION command for solution folder and no packaging.
Tested: local linux
2011-10-25 11:52:58 -05:00
Dana Robinson
fa4ab23b9e [svn-r21664] Added solution folders for most of the projects. This still needs some polish - the solution folder assignment should go closer to the target declaration and not all projects are grouped (parallel, c++, fortran, hl, and a few others).
Tested on Windows.
2011-10-25 01:59:10 -05:00
Neil Fortner
72702153d2 [svn-r21629] Purpose: Update fix committed in r21556
Description:
An old patch was mistakenly committed in r21556.  Replaced this fix with the
latest.

Tested: jam, koala, heiwa (h5committest)
2011-10-20 17:01:21 -05:00
Quincey Koziol
1c320f0025 [svn-r21617] Description:
Recalculate the size of destination attribute message when the source and
destination versions are different during an object copy operation. 
(Jira: HDFF-7718)

Tested on:
    Mac OS X/32 10.7.2 (amazon) w/debug
    (h5committest upcoming)
2011-10-20 12:05:23 -05:00
Neil Fortner
395c1c7db5 [svn-r21603] Purpose: Add generic skip list implementation
Description:
Added new H5SL_TYPE_GENERIC skip list type, which uses void *'s as keys and a
client-supplied callback for key comparison.  This was added to support the
upcoming "merge named datatype" feature for H5Ocopy, but may be used in other
places as well.  Also added testing.

Also fixed a potential bug with the H5SL_TYPE_OBJ implementation, and added
testing for that.

Tested: jam, koala, heiwa (h5committest), durandal
2011-10-18 16:27:58 -05:00
Neil Fortner
69b6e518ef [svn-r21564] Improve testing for H5Pset_libver_bounds (bring in line with 1.8 branch)
Tested: durandal (too minor for full h5committest)
2011-10-14 10:34:45 -05:00
Neil Fortner
1c0f834918 [svn-r21562] Improve testing for H5Pset_libver_bounds
Tested: durandal (too minor for full h5committest)
2011-10-14 09:36:03 -05:00
Quincey Koziol
9fa5dca9c2 [svn-r21561] Description:
Correct error in loading local heap prefix & data block from the file.
Sometimes the local heap's prefix could be loaded before the data block (e.g.
using H5Oget_info), but then when the data block was loaded later, the free
list information would get lost, causing the heap's size to grow larger than
necessary.  This is Jira bug #HDFFV-7767

Tested on:
    Mac OS X/32 10.7.2 (amazon) w/debug
    (h5committest coming up)
2011-10-14 08:28:23 -05:00
Neil Fortner
56960ac85c [svn-r21556] Purpose: Fix bug in H5Ocopy
Description:
H5Ocopy could get confused when copying a named datatype containing an
attribute which used that named datatype as its datatype.  This happened
because H5Ocopy would recurse into the attribute's datatype before the object
the attribute was in was fully copied (i.e. before the "post-copy" pass).
Modified H5Ocopy to avoid recursing before the post-copy step in this case.
Required many changes, including to how non-committed shared messages are
copied.

Tested: jam, koala, heiwa (h5committest); durandal
2011-10-13 18:10:50 -05:00
Dana Robinson
62b1372a03 [svn-r21508] Revoked svn check-ins 20913 and 20921 (fix for HDFFV-7579) pending a careful evaluation of enum conversion behavior. 2011-10-10 16:55:45 -05:00
Albert Cheng
1c3acba570 [svn-r21459] Problem:
Some machines, like LLNL udawn, a blue-gene machine, requires all executables,
be launched by some command like mpirun.

Solution:
Added $RUNSERIAL to launch the executable.

Tested: LLNL uDawn.
2011-10-04 03:36:27 -05:00
Allen Byrne
2457d8ecaf [svn-r21366] JIRA HDFFV-2748 replace use of _WIN32 in source. Created new defines H5_HAVE_WIN32_API and H5_HAVE_VISUAL_STUDIO defines to use. These can be properly set during configurration.
Tested: windows and local linux - reviewed internally
2011-09-06 11:50:32 -05:00
Raymond Lu
dbda7f4921 [svn-r21342] Issue 7674 - clang compiler with -fcatch-undefined-behavior -ftrapv discovered several problems in the test suite. One of
them is in the INIT_INTEGER macro definition in dt_arith.c.  It complained about line 150 where it tried to subtract 1 from
the negative minimal value of "int", causing it to overflow (or underflow).  So I revised the code to avoid it.

Tested on jam, koala, linew, and Mac OS Lion with CLANG compiler.
2011-08-31 15:00:49 -05:00
Raymond Lu
a5522454a5 [svn-r21258] Issue 7674 - clang compiler reported an error with line 334:
temp_point->l = (unsigned long long)((i * 100 + j * 1000) * n);
The value can overflow the signed int before being converted to unsigned long long.  So I changed it to 
   temp_point->l = (unsigned long long)((i * 40 + j * 400) * n);
to keep it under the maximal value.

Tested on jam.  Simple change.
2011-08-18 16:11:14 -05:00
Allen Byrne
215c872226 [svn-r21256] Add libinfo and test to cmake - JIRA 1243
Tested: local linux
2011-08-18 15:59:00 -05:00
Scot Breitenfeld
9eb1d607d8 [svn-r21249] Description: Part II of F2003 branch merge into the trunk.
Ran bin/reconfigure to update the Makefile.in in directories not part of the fortran directory check=in. Updates Makefile.in due to changes made in configure.in for the Fortran 2003 additions.

Tested on all platforms run under daily tests.
2011-08-18 09:38:53 -05:00
Raymond Lu
f32d49916d [svn-r21220] The original code
i_mask = ~((unsigned)~0 << (precision[0] + offset[0])) & ((unsigned)~0 << offset[0]);
in line 3680 left shifted a 32-bit integer for 32-bit.  The result is undefined by C language.  A user
discovered it using clang compiler with -fcatch-undefined-behavior option (see Issue 7674
in Jira).  So I changed it in a funny way to avoid it.

Tested on jam, koala, and heiwa.
2011-08-12 09:38:30 -05:00
Allen Byrne
a38f1a2075 [svn-r21163] Remove test library from export list
Tested: local linux
2011-08-01 14:25:35 -05:00
Quincey Koziol
74cf7b79a5 [svn-r21152] Description:
Further patches for Jira 7638, to ensure that H5D/Aget_type will
be attached to the correct top file.  (This change to the library should
reverted when Jira 7638 is finally finished)

Tested on:
        FreeBSD/32 8.2 (loyalty) w/gcc4.6, w/C++ & FORTRAN, in debug mode
        FreeBSD/64 8.2 (freedom) w/gcc4.6, 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 (koala) 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
        Mac OS X/32 10.6.8 (amazon) in debug mode
        Mac OS X/32 10.6.8 (amazon) w/C++ & FORTRAN, w/threadsafe,
                in production mode
2011-07-28 16:22:44 -05:00
Quincey Koziol
0a5bcc1df0 [svn-r21131] Description:
Disable some test code that isn't going to work correctly again until
we've completely resolved Jira issue #7638.

Tested on:
        FreeBSD/32 8.2 (loyalty) w/gcc4.6, w/C++ & FORTRAN, in debug mode
        FreeBSD/64 8.2 (freedom) w/gcc4.6, 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 (koala) 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
        Mac OS X/32 10.6.8 (amazon) in debug mode
2011-07-20 14:09:08 -05:00
Quincey Koziol
f136245a4f [svn-r21127] Description:
Correct to use correct FAPL, to fix error when running 'make check-vfd' 

Tested on:
	Linux/64 2.6 (koala) w/make check-vfd
2011-07-19 20:34:55 -05:00
Raymond Lu
338fdac20d [svn-r21124] Issue 2763 - adding OAPL_ID as a new parameter to H5Rdereference. A followup commit for r21117. I made 2 changes:
1. Quincey changed H5P_DATASET_ACCESS_DEFAULT to H5P_DEFAULT for the tests that call H5Rdereference.  Inside H5R_dereference, I assigned H5P_DATASET_ACCESS_DEFAULT to OAPL_ID if it is H5P_DEFAULT.
  2. I added the test for invalid OAPL_ID in trefer.c.

Tested on jam, koala, heiwa.
2011-07-19 15:20:01 -05:00
Quincey Koziol
a777619a6b [svn-r21121] Description:
Switch from H5P_DATASET_ACCESS_DEFAULT to H5P_DEFAULT for calls to
H5Rdereference2().

Tested on:
    Mac OS X/32 10.6.8 (amazon) w/debug
    (too minor to require h5committest)
2011-07-18 18:12:28 -05:00
Quincey Koziol
de10631577 [svn-r21120] Description:
Check in ugly version of fix for Jira #7638.  I'm going to leave the issue
open in Jira and when the library has been refactored to use shared file
pointers (instead of top file pointers) for file operations, I'll uncomment
the check in src/H5Oshared.c

Tested on:
    Mac OS X/32 10.6.8 (amazon) w/debug
    (too small for h5committest)
2011-07-18 17:43:30 -05:00
Raymond Lu
304f19d730 [svn-r21117] Issue 2763 - I added a new parameter of object access property list to the function H5Rdereference. It's called H5Rdereference2 now. H5Rdereference function has been deprecated to H5Rdereference1. I also added some test cases in trefer.c.
Tested on jam, heiwa, and koala.
2011-07-18 16:23:02 -05:00
Allen Byrne
ecaf2df9e4 [svn-r21078] Update test script to remove generated test files per test rather then in one group. Discovered from public 1.8 CDash reports. 2011-07-08 11:45:07 -05:00
Raymond Lu
4df63636e3 [svn-r21017] This is a follow-up checkin for r21015 (bug fix for Issue 2598). I added two minor changes: 1. put the output file for
vfd.c test in the list for cleanup in Makefile.am; 2. put the data file in the list in CMakeLists.txt.

Tested on jam - simple change.
2011-06-22 15:05:17 -05:00
Raymond Lu
f8f8bed0c2 [svn-r21015] Bug fix for Issue 2598 - In v1.6 library, there was EOA for the whole MULTI file saved in the
super block.  We took it out in v1.8 library because it's meaningless 
            for the MULTI file.  v1.8 library saves the EOA for the metadata file, 
            instead. But this caused some backward compatibility problem.
            v1.8 library couldn't open the file created with v1.6 library.  I 
            fixed the problem by checking the EOA value to detect the file
            created with v1.6 library. 

Tested on jam, koala, and heiwa.
2011-06-22 10:47:57 -05:00
Raymond Lu
c74ab6e385 [svn-r20971] Issue 4278 - When reading data fails, the error message should say which filter isn't registered. This is the follow-up commit. The previous way to construct the name of the existent data file wasn't very safe. It could be cleaned up if any user builds the library in the source directory.
Tested on jam - simple change.
2011-06-13 16:28:49 -05:00
Raymond Lu
fc3a269042 [svn-r20944] Issue 4278 - When reading data fails, the error message should say which filter isn't registered. This is the follow-up commit. In my previous commit, I changed HDsnprintf to snprintf, which caused trouble for Windows because the name is _snprintf instead. So I changed it back to HDsnprintf for properly defined macro. I also changed all fprintf to HDprintf to be consistent.
Tested on jam - simple change.
2011-06-07 10:58:21 -05:00
Allen Byrne
40d8ea446b [svn-r20942] Add filter_error.h5 test file to list - used by error_test test. 2011-06-07 10:34:21 -05:00
Raymond Lu
aabfb1d756 [svn-r20934] Issue 4278 - When reading data fails, the error message should say which filter isn't registered. This is the follow-up commit (20929 and 20930). The check-vfd in Makefile has trouble with the file name. Because the test file
is pre-generated, I use the default FAPL to create the full file name to avoid some driver test.  

Tested on jam - simple change.
2011-06-06 12:05:37 -05:00
Raymond Lu
5fe34ffd25 [svn-r20930] Issue 4278 - When reading data fails, the error message should say which filter isn't registered. This is the follow-up commit. When I checked in the fix and test (revision 20929), I forgot to add the data file test/filter_error.h5.
I've tested it in my previous checkin.
2011-06-03 14:59:34 -05:00
Raymond Lu
4bffd76b3c [svn-r20929] Issue 4278 - When reading data fails, the error message should say which filter isn't registered. The fix is simple. Most of the effort is on the test. The file with filter enabled is created in gen_filter.c. The verification of the error message is in test_error.c. The output is compared against the standard output.
Tested on jam, koala, and heiwa.
2011-06-03 10:58:49 -05:00
Raymond Lu
157623de6a [svn-r20913] Issue 7579 - The overflowing ENUM values are inconsistent. When no conversion is involved in reading or writing the
data, overflowing values are retained.  When conversion happens, the values become -1. The conversion function puts -1
when overflow happens.  I added two new dataset transfer property to control whether to fill 0xff in the destination 
data or convert to the destination data when overflow happens.  The two new functions are H5Pset(get)_enum_conv_overflow.  I also added test cases in enum.c and dtypes.c.

Tested on jam, koala, and heiwa.
2011-05-27 12:30:24 -05:00
Raymond Lu
2de5fa986f [svn-r20872] Issue 7564 - Allow H5Tcreat to create string type (fixed-length and variable-length). I also added a test case in dtypes.c.
Tested on jam and linew - relatively simple.
2011-05-20 11:14:33 -05:00
Allen Byrne
aee3e0b047 [svn-r20856] Remove vms_data.hr reference from CMakeLists.txt and update MANIFEST 2011-05-18 08:50:22 -05:00
Raymond Lu
89339ccce5 [svn-r20855] Issue 2599 - Cross-test BE and LE data. I added the test for deflate, szip, fletcher32, shuffle and nbit filter in cross_read.c and gen_cross.c. I also took out the data file for OpenVMS because the data isn't native but IEEE for floating-numbers.
Tested on koala, heiwa, and jam.
2011-05-17 17:18:05 -05:00
Raymond Lu
03cc051dde [svn-r20759] I commented out 2 test cases using H5_CANNOT_OPEN_TWICE because they open the same file twice. OpenVMS
can't do it.  Other systems still run them. 

Tested on jam. Simple change.
2011-05-05 15:09:49 -05:00
Neil Fortner
775c663acd [svn-r20694] Add description for new "external_open_twice" test.
Tested: jam
2011-05-02 10:28:34 -05:00
Neil Fortner
1a93a07867 [svn-r20691] Purpose: Fix problem exposed by external link cache
Description:
When closing an object that had two open id's, the library would previously fail
to account for the status of the "holding_file" field, potentially causing the
file's "nopen_objs" field to become inconsistent.  This caused problems when
opening the same object twice through an external link using th external file
cache.  Modified the library to properly account for the status of the
"holding_file" field when closing an object id, even when the underlying
"shared" object isn't closed.

Tested: jam, koala, heiwa (h5committest)
2011-05-01 23:12:47 -05:00
Raymond Lu
e5467b3e4e [svn-r20666] Bug fix: VMS has trouble to deal with absolute path. I changed dtypes.c to use the file name only. I also
updated the current directory path in vms/test/H5srcdir_str.h.

Tested on jam and OpenVMS.
2011-04-28 15:03:35 -05:00
Raymond Lu
9f1262f957 [svn-r20610] OpenVMS complainted about a test case in th5o.c which opened the same file twice. VMS doesn't allow it. I used the macro H5_CANNOT_OPEN_TWICE to skip the test case. In th5s.c, I created an attribute but fogot to close it in the test case for zero dimension size.
Tested on jam.  But I haven't tested on OpenVMS yet.
2011-04-22 15:28:43 -05:00
Quincey Koziol
60bf7fddf1 [svn-r20551] Description:
Correct 'FILE **' back to 'FILE *' for H5Fget_vfd_handle call.

Tested on:
	FreeBSD/32 8.2 (loyalty) w/gcc 4.6 & debug
	FreeBSD/64 8.2 (freedom) w/gcc 4.6 & debug
	Solaris 2.6 (linew)
2011-04-19 06:34:51 -05:00
Dana Robinson
96a96fafaa [svn-r20548] Fixed bug in test/vfd.c (HDFFV-5936) that caused STDIO VFD test to fail on some platforms.
The problem was that the test was a clone of the SEC2 test.  The SEC2 test accepts a file descriptor (int) via a void pointer from H5Fget_vfd_handle() whereas the STDIO test needs to accept a FILE pointer.  Storing the FILE pointer in an integer failed on some systems.  The STDIO test now stores the file handle in FILE pointer and checks it for NULL instead of < 0.
2011-04-18 16:24:29 -05:00
Quincey Koziol
9431c7a97e [svn-r20536] Description:
Clean up various warnings & code formatting issues.

	Bring changes from Coverity branch to trunk:

r20085:
Purpose: Fix coverity issue 793

Description: Modified H5S_hyper_project_simple_higher() to free the entire span
list in new_space on failure.


r20091:
This is a fix for coverity bug #1683.
Changed the two printfs to use %lu (unsigned long) for printing "dset_size".


r20162:
Purpose: Fix coverity issue 785

Description: Modified H5T_enum_nameof() to free "name" on failure if it was
allocated.  Also clarified some code in H5S_hyper_rebuild_helper().


r20189:
Addressed coverity defect 783.

H5SL_new_node() in H5SL.c was failing to free space allocated in its
first alloc if the second alloc failed.  Added a call to H5FL_FREE
to address this issue.

This is purely to keep coverity happy -- if this code is ever triggered,
we have much larger problems.

Note that this fix will trigger an unused return value complaint
from coverity next week.


r20190:
Fixed Coverity issues 1561 1565 and 1678 (UNUSED_VALUES) by moving checks of return values to after the function call.


r20191:
Fixed coverity issues 643 644 and 1678 (CHECKED_RETURN).


r20232:
Addressed coverity issues 923-925.  Replaced calls to sprintf with calls
to HDsnprintf.


r20233:
Fix coverity issue 662.  Don't try to sort 0 attributes in H5Aint.c.


r20234:
Fix coverity issue 664.  Check for NULL before dereferencing in H5Gdeprec.c.


r20271:
Purpose: Fix coverity issue 784

Description: Modified H5_debug_mask() to keep a list of files opened for use as
a debugging output stream, and modified H5_term_library to close these files on
exit.


r20272:
addressed coverity issues 838 & 955.  Issue was use of strcpy() -- existing
code was safe, but modified to use strncpy() to keep coverity happy.


r20273:
Addresed coverity issues 1388 and 1389.
Initialized sel_iter->type to NULL in H5S_select_iter_init.


r20275:
Purpose: Fix valgrind issue in mf.c

Description: Fixed bug (incomplete if statement) in test_mf_fs_alloc_free() so
the retrieved node gets freed.


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
2011-04-17 13:57:07 -05:00