[svn-r3633]

Purpose:
    fixing the format of dumper output for windows test
Description:
    New dumptest includes the feature that an error of the output will be put into stderr in linux
    On windows, that stderr will not be redirected into the output file and the comparsion between the expected file and the dumper output is not correct.
Solution:
     change fprintf(stderr .....) at h5tool_util.c into fprintf(stdout ......) so that it fits the comparison.

Platforms tested:
    windows 2000
This commit is contained in:
MuQun Yang 2001-03-14 16:38:55 -05:00
parent 693131fe40
commit a21f74ce6a

View File

@ -53,8 +53,14 @@ error_msg(const char *progname, const char *fmt, ...)
va_start(ap, fmt);
fflush(stdout);
#ifdef WIN32
fprintf(stdout, "%s error: ", progname);
vfprintf(stdout, fmt, ap);
#else
fprintf(stderr, "%s error: ", progname);
vfprintf(stderr, fmt, ap);
#endif
va_end(ap);
}