~zooko/cryptopp/trunk

« back to all changes in this revision

Viewing changes to files.cpp

  • Committer: weidai
  • Date: 2005-01-20 04:19:35 UTC
  • Revision ID: svn-v4:57ff6487-cd31-0410-9ec3-f628ee90f5f0:trunk/c5:195
changes done for FIPS-140 lab code drop

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
        if (begin == 0 && end == 1)
96
96
        {
97
97
                int result = m_stream->peek();
98
 
                if (result == EOF)      // GCC workaround: 2.95.2 doesn't have char_traits<char>::eof()
 
98
                if (result == char_traits<char>::eof())
99
99
                        return 0;
100
100
                else
101
101
                {