From f0efc265de355b89203bfde05d358999cb6ef47f Mon Sep 17 00:00:00 2001 From: MuQun Yang Date: Fri, 28 May 2004 11:06:09 -0500 Subject: [svn-r8596] Purpose: bug fix Description: Currently h5dump test on windows won't separate error form standard output; which shows at function error_message. A #ifdef WIN32 macro at this file make stderr to be the same as stdout on windows. Solution: Separate standard error from standard output. Platforms tested: windows xp VS 6.0(by xuan bai), no needs to test on other platforms Misc. update: --- tools/lib/h5tools_utils.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tools/lib/h5tools_utils.c b/tools/lib/h5tools_utils.c index 1f3accc..7a92f9d 100644 --- a/tools/lib/h5tools_utils.c +++ b/tools/lib/h5tools_utils.c @@ -64,13 +64,8 @@ error_msg(const char *progname, const char *fmt, ...) va_start(ap, fmt); HDfflush(stdout); -#ifdef WIN32 - HDfprintf(stdout, "%s error: ", progname); - HDvfprintf(stdout, fmt, ap); -#else HDfprintf(stderr, "%s error: ", progname); HDvfprintf(stderr, fmt, ap); -#endif va_end(ap); } -- cgit v0.12