summaryrefslogtreecommitdiffstats
path: root/tools/h5diff/ph5diff_main.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2012-02-27 14:50:27 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2012-02-27 14:50:27 (GMT)
commitfb6eace96045e35caf229ebc91ce1ea0a536ead9 (patch)
treee770ac3e6080fb90217b9bc37447fd5ac6ed6dbd /tools/h5diff/ph5diff_main.c
parent3d3bf48b9a3cc6f72d122a57c403bd1df9cc1e7d (diff)
downloadhdf5-fb6eace96045e35caf229ebc91ce1ea0a536ead9.zip
hdf5-fb6eace96045e35caf229ebc91ce1ea0a536ead9.tar.gz
hdf5-fb6eace96045e35caf229ebc91ce1ea0a536ead9.tar.bz2
[svn-r21988] Tools must call h5tools_init before command_line parsing or using tools_mesg functions.
Tools library uses alias variables for stdout, stderr and tools library uses HDfprintf() functions.
Diffstat (limited to 'tools/h5diff/ph5diff_main.c')
-rw-r--r--tools/h5diff/ph5diff_main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/h5diff/ph5diff_main.c b/tools/h5diff/ph5diff_main.c
index 67b0c92..5bd5567 100644
--- a/tools/h5diff/ph5diff_main.c
+++ b/tools/h5diff/ph5diff_main.c
@@ -68,6 +68,9 @@ int main(int argc, const char *argv[])
h5tools_setprogname(PROGRAMNAME);
h5tools_setstatus(EXIT_SUCCESS);
+ /* Initialize h5tools lib */
+ h5tools_init();
+
outBuffOffset = 0;
g_Parallel = 1;