[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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user