From d558f53c5d3229e8f21fcf4793259b39b34450ef Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 29 Dec 2003 22:07:39 +0000 Subject: [PATCH] Remove extra compiled-on stamp. Don't use __TIMESTAMP__; that gives the last compile time of RageLog.cpp, not the last build time. Put the current time in info, instead of trace, so we can compare times when we receive more than one log, to make sure they really match up (we occasionally get crashinfo.txt from a previous crash, in which case only info.txt and log.txt are relevant). --- stepmania/src/RageLog.cpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/stepmania/src/RageLog.cpp b/stepmania/src/RageLog.cpp index 010a0f0062..8365bc8b96 100644 --- a/stepmania/src/RageLog.cpp +++ b/stepmania/src/RageLog.cpp @@ -108,8 +108,8 @@ RageLog::RageLog() this->Info( PRODUCT_NAME_VER ); -#if defined(_MSC_VER) - this->Info( "Last compiled on %s.", __TIMESTAMP__ ); +#if defined(HAVE_VERSION_INFO) + this->Info( "Compiled %s (build %lu)", version_time, version_num ); #endif time_t cur_time; @@ -118,14 +118,10 @@ RageLog::RageLog() if ( now ) { - this->Trace( "Log starting %.4d-%.2d-%.2d %.2d:%.2d:%.2d", + this->Info( "Log starting %.4d-%.2d-%.2d %.2d:%.2d:%.2d", 1900+now->tm_year, now->tm_mon, now->tm_mday, now->tm_hour, now->tm_min, now->tm_sec ); this->Trace( " " ); } - -#if defined(HAVE_VERSION_INFO) - this->Info("Compiled %s (build %lu)", version_time, version_num); -#endif } RageLog::~RageLog()