diff options
author | Jonathan Kim <jkm@hdfgroup.org> | 2012-04-19 21:50:46 (GMT) |
---|---|---|
committer | Jonathan Kim <jkm@hdfgroup.org> | 2012-04-19 21:50:46 (GMT) |
commit | cd49872f49a8fc0f1265739b7d42f386595b04ae (patch) | |
tree | 6f96110203dae2f17989008399d2ebc2f9bec967 | |
parent | 34ada2e41da08bede1962abf5415f41d795c5ee6 (diff) | |
download | hdf5-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.c | 3 |
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) { |