Angus Leeming <[EMAIL PROTECTED]> writes: | Angus Leeming wrote: | | > Lars Gullik Bjønnes wrote: | > | >> Andre Poenitz <[EMAIL PROTECTED]> writes: | >> | >> | + lyxerr << "InsetTabular::draw: " << x << " " << y << "\n"; | >> | >> Please, please do not use '\n' to end a lyxerr sequence, use | >> std::endl, since that also flush the buffer. | >> | >> I have a patch somewhere that fixes this other places in the code. | >> | >> (OTOH a patch to debugstream that makes sure that it is unbuffered is | >> also welcome.) | > | > isn't that as simple as | > lyxerr.setbuf(0,0); | > ? | > | | Actually, since DebugStream uses the same streambuf as cerr, isn't it | already unbuffered?
Perhaps in theory... not in RL. (guess why I am bringing up the '\n' vs. endl issue.) -- Lgb