[Box Backup-commit] COMMIT r2649 - box/trunk/lib/common

subversion at boxbackup.org subversion at boxbackup.org
Tue Mar 2 08:24:50 GMT 2010


Author: chris
Date: 2010-03-02 08:24:49 +0000 (Tue, 02 Mar 2010)
New Revision: 2649

Modified:
   box/trunk/lib/common/Test.cpp
Log:
typo


Modified: box/trunk/lib/common/Test.cpp
===================================================================
--- box/trunk/lib/common/Test.cpp	2010-02-28 19:51:26 UTC (rev 2648)
+++ box/trunk/lib/common/Test.cpp	2010-03-02 08:24:49 UTC (rev 2649)
@@ -43,10 +43,10 @@
 }
 
 // -1 if doesn't exist
-int TestGetFileSize(const char *Filename)
+int TestGetFileSize(const std::string& rFilename)
 {
 	EMU_STRUCT_STAT st;
-	if(EMU_STAT(Filename, &st) == 0)
+	if(EMU_STAT(rFilename.c_str(), &st) == 0)
 	{
 		return st.st_size;
 	}
@@ -462,7 +462,7 @@
 	ts.tv_nsec = 0;
 	while (nanosleep(&ts, &ts) == -1 && errno == EINTR)
 	{
-		// FIME evil hack for OSX, where ts.tv_sec contains
+		// FIXME evil hack for OSX, where ts.tv_sec contains
 		// a negative number interpreted as unsigned 32-bit
 		// when nanosleep() returns later than expected.
 




More information about the Boxbackup-commit mailing list