[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:
This commit is contained in:
MuQun Yang
2004-05-28 11:11:37 -05:00
parent 6e6760216b
commit daa241c422

View File

@@ -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);
}