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
// stream.
//
// The MSDN Library claims that it is necessary to
// redefine this only seekoff(), and not seekpos() as
// well, as the default implementation of seekpos() is
// supposed to map to seekoff() exactly as I am doing
// here; but in fact it must do something else, because
// seeking didn't work on Windows until I redefined this
// The MSDN Library claims that it is only necessary to
// redefine seekoff(), and not seekpos() as well, as the
// default implementation of seekpos() is supposed to
// map to seekoff() exactly as I am doing here; but in
// fact it must do something else, because seeking
// didn't work on Windows until I redefined this
// function as well.
////////////////////////////////////////////////////////////////////
streampos SubStreamBuf::