Changeset 1634

Show
Ignore:
Timestamp:
09/23/08 10:40:07 (4 months ago)
Author:
phil.booth
Message:
Fixed bad mode parameter to basic_ostream::open().
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/LibXPort/src/Log.cpp

    r1631 r1634  
    3939        if(!m_f.is_open()) 
    4040        { 
    41                 m_f.open(sFile, std::ios_base::app | std::ios_base::out | (bClobber ? std::ios_base::trunc : 0)); 
     41                m_f.open(sFile, std::ios_base::out | (bClobber ? std::ios_base::trunc : std::ios_base::app)); 
    4242                return m_f.is_open(); 
    4343        }