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 <[EMAIL PROTECTED]> > > * 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