Changeset 2650
- Timestamp:
- 02/03/2010 08:25:50 (6 months ago)
- Files:
-
- 1 modified
-
box/trunk/lib/common/Test.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/lib/common/Test.cpp
r2649 r2650 44 44 45 45 // -1 if doesn't exist 46 int TestGetFileSize(const std::string& rFilename)46 int TestGetFileSize(const char *Filename) 47 47 { 48 48 EMU_STRUCT_STAT st; 49 if(EMU_STAT( rFilename.c_str(), &st) == 0)49 if(EMU_STAT(Filename, &st) == 0) 50 50 { 51 51 return st.st_size; … … 463 463 while (nanosleep(&ts, &ts) == -1 && errno == EINTR) 464 464 { 465 // FI XME evil hack for OSX, where ts.tv_sec contains465 // FIME evil hack for OSX, where ts.tv_sec contains 466 466 // a negative number interpreted as unsigned 32-bit 467 467 // when nanosleep() returns later than expected.
