This commit is contained in:
David Rose 2002-08-05 17:30:04 +00:00
parent 0521410926
commit ca8577be86

View File

@ -168,12 +168,12 @@ seekoff(streamoff off, ios::seek_dir dir, int mode) {
// Description: A variant on seekoff() to implement seeking within a // Description: A variant on seekoff() to implement seeking within a
// stream. // stream.
// //
// The MSDN Library claims that it is necessary to // The MSDN Library claims that it is only necessary to
// redefine this only seekoff(), and not seekpos() as // redefine seekoff(), and not seekpos() as well, as the
// well, as the default implementation of seekpos() is // default implementation of seekpos() is supposed to
// supposed to map to seekoff() exactly as I am doing // map to seekoff() exactly as I am doing here; but in
// here; but in fact it must do something else, because // fact it must do something else, because seeking
// seeking didn't work on Windows until I redefined this // didn't work on Windows until I redefined this
// function as well. // function as well.
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
streampos SubStreamBuf:: streampos SubStreamBuf::