PDA

View Full Version : !detach doesn't flush buffer...


Mouton
02-02-2004, 08:37 PM
When using !detach 0 at the end of a script, it seems it doesn't flush the buffer, and everything that was still in buffer is lost...

Any way to force io to flush the buffer ?

darkone
02-23-2004, 07:05 PM
calling fflush() should do it.

darkone
02-23-2004, 07:12 PM
There seems to be bug in the routine as well.. seems like you currently need to add some delay after flushing. Then call !detach, and flush again.