summaryrefslogtreecommitdiffstats
path: root/tools/lib
diff options
context:
space:
mode:
authorMuQun Yang <ymuqun@hdfgroup.org>2004-05-28 16:06:09 (GMT)
committerMuQun Yang <ymuqun@hdfgroup.org>2004-05-28 16:06:09 (GMT)
commitf0efc265de355b89203bfde05d358999cb6ef47f (patch)
treebc5a15c7dcad8e3709914739d8b2b7279c619a0b /tools/lib
parentdee9ad2b7e4b4cde4d0b1940089bd772fa2838e6 (diff)
downloadhdf5-f0efc265de355b89203bfde05d358999cb6ef47f.zip
hdf5-f0efc265de355b89203bfde05d358999cb6ef47f.tar.gz
hdf5-f0efc265de355b89203bfde05d358999cb6ef47f.tar.bz2
[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:
Diffstat (limited to 'tools/lib')
-rw-r--r--tools/lib/h5tools_utils.c5
1 files changed, 0 insertions, 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);
}