summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Kim <jkm@hdfgroup.org>2012-04-19 21:50:46 (GMT)
committerJonathan Kim <jkm@hdfgroup.org>2012-04-19 21:50:46 (GMT)
commitcd49872f49a8fc0f1265739b7d42f386595b04ae (patch)
tree6f96110203dae2f17989008399d2ebc2f9bec967
parent34ada2e41da08bede1962abf5415f41d795c5ee6 (diff)
downloadhdf5-cd49872f49a8fc0f1265739b7d42f386595b04ae.zip
hdf5-cd49872f49a8fc0f1265739b7d42f386595b04ae.tar.gz
hdf5-cd49872f49a8fc0f1265739b7d42f386595b04ae.tar.bz2
[svn-r22301] Purpose:
Fix for HDFFV-8001 - h5unjam: segfault when used -V (show version) option Description: h5unjam has an option '-V' to display version information. "h5unjam -V" caused segfulat for 1.8.9 pre-release. Merged from HDF5 trunk 22300 Tested: jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), Windows (32-LE cmake), Cmake (jam)
-rw-r--r--tools/h5jam/h5unjam.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/h5jam/h5unjam.c b/tools/h5jam/h5unjam.c
index 4751dad..c304045 100644
--- a/tools/h5jam/h5unjam.c
+++ b/tools/h5jam/h5unjam.c
@@ -243,6 +243,9 @@ main(int argc, const char *argv[])
H5Eget_auto2(H5E_DEFAULT, &func, &edata);
H5Eset_auto2(H5E_DEFAULT, NULL, NULL);
+ /* Initialize h5tools lib */
+ h5tools_init();
+
parse_command_line(argc, argv);
if (input_file == NULL) {