diff options
author | MuQun Yang <ymuqun@hdfgroup.org> | 2004-05-28 16:11:37 (GMT) |
---|---|---|
committer | MuQun Yang <ymuqun@hdfgroup.org> | 2004-05-28 16:11:37 (GMT) |
commit | daa241c422d8ddb1338b9811edf4e20d35b6bb95 (patch) | |
tree | 3263d6888814ad7dff14dee5ba0fb3cb0e936c4a | |
parent | 6e6760216bd2dc64bba0976cdf1a1fed5a8fa114 (diff) | |
download | hdf5-daa241c422d8ddb1338b9811edf4e20d35b6bb95.zip hdf5-daa241c422d8ddb1338b9811edf4e20d35b6bb95.tar.gz hdf5-daa241c422d8ddb1338b9811edf4e20d35b6bb95.tar.bz2 |
[svn-r8597] Purpose:
bug fix
Description:
Somehow in the function error_msg, a #ifdef WIN32 combine the stdout and stderr into a stdout for windows platforms. This will cause the confused output of dumper test on windows.
Erase this macro.
Solution:
See above.
Platforms tested:
windows XP with MSVS 6.0 by xuan.
No need to test on other platforms.
Misc. update:
-rw-r--r-- | tools/lib/h5tools_utils.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/lib/h5tools_utils.c b/tools/lib/h5tools_utils.c index 1a9882b..a942c17 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); } |