Mercurial > hg > octave-lojdl
changeset 3558:d2d769ed9eaa
[project @ 2000-02-03 05:07:10 by jwe]
author | jwe |
---|---|
date | Thu, 03 Feb 2000 05:07:11 +0000 |
parents | 2e5d35d7f60c |
children | 12d7ec415f35 |
files | src/ChangeLog src/load-save.cc src/oct-strstrm.cc |
diffstat | 3 files changed, 7 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,9 @@ 2000-02-02 John W. Eaton <jwe@bevo.che.wisc.edu> + * load-save.cc (Fsave): Call pubseekoff instead of seekoff. + * oct-strstrm.cc (octave_base_strstream::tell): Likewise. + (octave_base_strstream::seek): Likewise. + * oct-stream.cc (octave_base_stream::read): Rename count to char_count. (octave_base_stream::do_gets): Likewise.
--- a/src/load-save.cc +++ b/src/load-save.cc @@ -2717,7 +2717,7 @@ if (file) { bool write_header_info - = ((file.rdbuf ())->seekoff (0, std::ios::cur) == 0); + = ((file.rdbuf ())->pubseekoff (0, std::ios::cur) == 0); save_vars (argv, i, argc, file, save_builtins, format, save_as_floats, write_header_info);
--- a/src/oct-strstrm.cc +++ b/src/oct-strstrm.cc @@ -41,7 +41,7 @@ { clear (); - sb->seekoff (offset, origin); + sb->pubseekoff (offset, origin); retval = bad () ? -1 : 0; } } @@ -64,7 +64,7 @@ if (sb) { - retval = static_cast<long> (sb->seekoff (0, std::ios::cur)); + retval = static_cast<long> (sb->pubseekoff (0, std::ios::cur)); if (bad ()) retval = -1;