Changeset 7853


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

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r7852 r7853  
    2222   * datacente/macros/fillsignal.C:
    2323     - still searched for tabs DiffHi and DiffLo... fixed.
     24
     25   * mbase/MLog.cc, mbase/MLogHtml.cc:
     26     - switched off buffering for ofstreams
     27     - fixed length argument for the case </> are replaced by html-code
    2428
    2529
  • 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.