[Patch] cygcheck: eprintf + display_error: Do /something/.

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Fri Dec 17 02:01:00 GMT 2004


On Fri, Dec 17, 2004 at 02:04:40AM +0100, Buzz wrote:
>Here is another attempt at making eprintf a usable/used function in
>cygcheck. It this time just flushes stdout and stderr before/after
>output on stderr, when both (stdout and stderr) are ttys.
>
>2004-12-16  Bas van Gompel  <cygwin-patch.buzz@bavag.tmfweb.nl>
>
>	* cygcheck.cc (eprintf): Flush stdout before, and stderr after output,
>	when stdout and stderr both refer to tty's.
>	(display_error): Use eprintf.

I'm still not sure what you're hoping to accomplish with this.  I haven't
seen any problems with flushing in cygcheck and I wouldn't expect any
since the flushing should be automatic if stdout is a "tty".

cgf



More information about the Cygwin-patches mailing list