diff options
author | Jonathan Kim <jkm@hdfgroup.org> | 2012-04-19 21:38:07 (GMT) |
---|---|---|
committer | Jonathan Kim <jkm@hdfgroup.org> | 2012-04-19 21:38:07 (GMT) |
commit | 41b9ce962af276c0bca218dcf8eceb0726f9c4cb (patch) | |
tree | 256ac504111135411062b013979a22ebfb815d19 /tools/h5jam | |
parent | a07c8f924703bdf3d1654b59cabf847f5d0f2683 (diff) | |
download | hdf5-41b9ce962af276c0bca218dcf8eceb0726f9c4cb.zip hdf5-41b9ce962af276c0bca218dcf8eceb0726f9c4cb.tar.gz hdf5-41b9ce962af276c0bca218dcf8eceb0726f9c4cb.tar.bz2 |
[svn-r22300] 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.
Tested:
jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows (32-LE cmake), Cmake (jam)
Diffstat (limited to 'tools/h5jam')
-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) { |