#16 readsome with MSVC

closed-fixed
None
7
2006-01-17
2006-01-17
No

The way MS implemented readsome makes it useless for
reading files (ifstream::open does not fill in the
buffer, and the first readsome sees that the buffer is
empty). Replacing readsome to read-gcount pair makes it
work with both VC and g++.
Patch is attached.

Discussion

  • Marcus Börger
    Marcus Börger
    2006-01-17

    • priority: 5 --> 7
    • assigned_to: nobody --> helly
    • status: open --> open-accepted
     
  • Marcus Börger
    Marcus Börger
    2006-01-17

    • status: open-accepted --> closed-fixed