]> git.ipfire.org Git - thirdparty/gcc.git/commit - libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc
re PR libstdc++/12232 (Incorrect handling of openmode argument in filebuf::seekoff...
authorPaolo Carlini <pcarlini@unitus.it>
Thu, 2 Oct 2003 20:37:06 +0000 (22:37 +0200)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 2 Oct 2003 20:37:06 +0000 (20:37 +0000)
commit8dcaff2850b7081696175bf6ae6b5f7021cbea3c
tree4d184b4b415b37498837bdba6a3fc0f2e46b5118
parentd1aa4795838afb7c3cf72ae3b028a1b46beffada
re PR libstdc++/12232 (Incorrect handling of openmode argument in filebuf::seekoff and seekpos)

2003-10-02  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/12232
* include/bits/fstream.tcc (seekoff): Ignore the openmode
argument; simplify.
* config/io/basic_file_stdio.h (__basic_file<char>::seekoff,
seekpos): Remove the openmode argument.
* config/io/basic_file_stdio.cc (__basic_file<char>::seekoff,
seekpos): Remove redundant placeholder for the openmode argument.
* testsuite/27_io/basic_filebuf/seekoff/char/12232.cc: New.
* testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc: Tweak.
* testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc: Likewise.

From-SVN: r72048
libstdc++-v3/ChangeLog
libstdc++-v3/config/io/basic_file_stdio.cc
libstdc++-v3/config/io/basic_file_stdio.h
libstdc++-v3/include/bits/fstream.tcc
libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/12232.cc [new file with mode: 0644]
libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc