diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2012-02-24 21:14:47 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2012-02-24 21:14:47 (GMT) |
commit | 202c36682b47239079f547f274fe5d4e9f78f27b (patch) | |
tree | b8b5ea94e4017b9588795a93a6de23a3ca33ab1c /tools/h5jam/h5jam.c | |
parent | 2dffa66ef78426ea1eef3aaa2d5abcb11d0c26f8 (diff) | |
download | hdf5-202c36682b47239079f547f274fe5d4e9f78f27b.zip hdf5-202c36682b47239079f547f274fe5d4e9f78f27b.tar.gz hdf5-202c36682b47239079f547f274fe5d4e9f78f27b.tar.bz2 |
[svn-r21985] Tools must call h5tools_init before command_line parsing or using tools_mesg functions.
Tools library uses alais variables for stdout, stderr and tools library uses HDfprintf() functions.
Tested: local linux
Diffstat (limited to 'tools/h5jam/h5jam.c')
-rw-r--r-- | tools/h5jam/h5jam.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/h5jam/h5jam.c b/tools/h5jam/h5jam.c index 2bc3462..923bc5a 100644 --- a/tools/h5jam/h5jam.c +++ b/tools/h5jam/h5jam.c @@ -237,6 +237,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 (ub_file == NULL) { |