trace files should not be opened for appending

This commit is contained in:
Unknown
2007-02-21 06:42:58 -08:00
parent a9d2b13fa1
commit f6e33b54b7

View File

@@ -82,7 +82,7 @@ TraceWriter::Open (std::string const &filename)
{
NS_DEBUG ("TraceWriter()::Open (\"" << filename << "\")")
m_filestr.open (filename.c_str(), std::ios::out | std::ios::app);
m_filestr.open (filename.c_str(), std::ios::out);
}
void
@@ -90,7 +90,7 @@ TraceWriter::Open (char const *filename)
{
NS_DEBUG ("TraceWriter()::Open (\"" << filename << "\")")
m_filestr.open (filename, std::ios::out | std::ios::app);
m_filestr.open (filename, std::ios::out);
}
void