Ignore:
Timestamp:
08/05/06 10:09:52 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mbase
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MLog.cc

    r7808 r7853  
    659659    TString n(fname ? fname : txt);
    660660    gSystem->ExpandPathName(n);
     661
    661662    fOut = new ofstream(n.Data());
     663
     664    // switch off buffering
     665    fOut->rdbuf()->pubsetbuf(0,0);
     666
    662667    fOutAllocated = kTRUE;
    663668}
  • trunk/MagicSoft/Mars/mbase/MLogHtml.cc

    r7632 r7853  
    5454        return;
    5555    }
     56
     57    // switch off buffering
     58    fOut->rdbuf()->pubsetbuf(0,0);
    5659
    5760    MTime time;
     
    129132    txt.ReplaceAll("<", "&lt;");
    130133
    131     fOut->write(txt.Data(), len);
     134    fOut->write(txt.Data(), txt.Length());
    132135    if (fUnderline)
    133136    {
Note: See TracChangeset for help on using the changeset viewer.