summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Mainzer <mainzer@hdfgroup.org>2016-02-17 11:47:45 (GMT)
committerJohn Mainzer <mainzer@hdfgroup.org>2016-02-17 11:47:45 (GMT)
commitc4ef0b65a0499e33e88ef51129f2376e0ac8a072 (patch)
tree101669a438daeb4fdbcd41923b5abd3842e1a8af
parent9490d3aff473266c19c3ef24dd75576032376a30 (diff)
downloadhdf5-c4ef0b65a0499e33e88ef51129f2376e0ac8a072.zip
hdf5-c4ef0b65a0499e33e88ef51129f2376e0ac8a072.tar.gz
hdf5-c4ef0b65a0499e33e88ef51129f2376e0ac8a072.tar.bz2
[svn-r29136] Added code to main routine of objcopy to close the FAPL fapl2
shortly before exit. This in turn hides the property list management failure that is otherwise expressed on library shutdown when run with either the split or multi file drivers. Needless to say, this is a bandaid. The actual cause of the problem must be found and dealt with. Tested on Jam -- serial/debug/check-vfd
-rw-r--r--test/objcopy.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/objcopy.c b/test/objcopy.c
index 7ee6196..f4b6a3e 100644
--- a/test/objcopy.c
+++ b/test/objcopy.c
@@ -13595,6 +13595,16 @@ main(void)
puts ("All object copying tests passed.");
+ /* call H5Pclose(fapl2) to mask property list management bug.
+ *
+ * Needless to say, this bug must be fixed properly, but we
+ * will sweep it under the rug for now.
+ *
+ * To expose the bug, delete this call, and run with either split
+ * or multi file driver.
+ */
+ H5Pclose(fapl2);
+
h5_cleanup(FILENAME, fapl);
return 0;