From fb6eace96045e35caf229ebc91ce1ea0a536ead9 Mon Sep 17 00:00:00 2001 From: Allen Byrne Date: Mon, 27 Feb 2012 09:50:27 -0500 Subject: [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. --- tools/h5diff/ph5diff_main.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- cgit v0.12