diff options
author | Benoit Foucher <benoit@zeroc.com> | 2007-01-11 10:12:24 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2007-01-11 10:12:24 +0000 |
commit | b31847728d773f71ebf76561e4dc16185e4c8226 (patch) | |
tree | d49f1bcc5e27a5d6b59713f4cc5af55d40f0fb58 /cpp/src/IceGrid/FileCache.cpp | |
parent | Fix (diff) | |
download | ice-b31847728d773f71ebf76561e4dc16185e4c8226.tar.bz2 ice-b31847728d773f71ebf76561e4dc16185e4c8226.tar.xz ice-b31847728d773f71ebf76561e4dc16185e4c8226.zip |
Fix
Diffstat (limited to 'cpp/src/IceGrid/FileCache.cpp')
-rw-r--r-- | cpp/src/IceGrid/FileCache.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/cpp/src/IceGrid/FileCache.cpp b/cpp/src/IceGrid/FileCache.cpp index ce372127827..d18b7f0d1f4 100644 --- a/cpp/src/IceGrid/FileCache.cpp +++ b/cpp/src/IceGrid/FileCache.cpp @@ -66,11 +66,7 @@ FileCache::getOffsetFromEnd(const string& file, int originalCount) // deque<string> lines; int count = originalCount - totalCount; // Number of lines left to find. -#ifdef __sun - while(is.good() && is.tellg() < static_cast<streampos>(lastBlockOffset)) -#else while(is.good() && is.tellg() < lastBlockOffset) -#endif { getline(is, line); |