From: Chris Koeritz Date: Thu, 9 Jul 2015 19:37:31 +0000 (-0400) Subject: removed some debugging and added missing class name definition. X-Git-Tag: 2.140.90~614 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=858aef5a060ab5329bf4922eee55bf0119ef77f1;p=feisty_meow.git removed some debugging and added missing class name definition. --- diff --git a/nucleus/library/filesystem/filename.cpp b/nucleus/library/filesystem/filename.cpp index 81ca6f02..664a9970 100644 --- a/nucleus/library/filesystem/filename.cpp +++ b/nucleus/library/filesystem/filename.cpp @@ -197,7 +197,7 @@ void filename::canonicalize() if ( (length() > CYGDRIVE_PATH.length() + 1) && begins(CYGDRIVE_PATH) ) { zap(0, CYGDRIVE_PATH.length() - 1); // whack the cygdrive portion plus two slashes. insert(1, ":"); // add a colon after the imputed drive letter. -LOG(astring("turned cygdrive string into: ") + *this); +//LOG(astring("turned cygdrive string into: ") + *this); } // now we convert msys... if ( (length() >= 2) && (get(0) == DEFAULT_SEPARATOR) @@ -216,7 +216,7 @@ LOG(astring("turned cygdrive string into: ") + *this); // then only on the near defunct windows platform. zap(0, 0); // take off initial slash. insert(1, ":"); // add the obligatory colon. -LOG(astring("turned msys string into: ") + *this); +//LOG(astring("turned msys string into: ") + *this); } } #endif diff --git a/nucleus/library/filesystem/filename.h b/nucleus/library/filesystem/filename.h index f609f901..c1710c13 100644 --- a/nucleus/library/filesystem/filename.h +++ b/nucleus/library/filesystem/filename.h @@ -56,6 +56,8 @@ public: /*!< the "name_of_file" can itself be a directory. */ filename(const filename &to_copy); //!< copy constructor. + DEFINE_CLASS_NAME("filename"); + virtual ~filename(); bool good() const;