-
- Downloads
"git@gitlab.cobolworx.com:COBOLworx/gcc-cobol.git" did not exist on "524abb09579f8f59923c40b7ddcdc9faaad279dd"
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
Showing
- libstdc++-v3/ChangeLog 15 additions, 0 deletionslibstdc++-v3/ChangeLog
- libstdc++-v3/config/io/basic_file_stdio.cc 2 additions, 3 deletionslibstdc++-v3/config/io/basic_file_stdio.cc
- libstdc++-v3/config/io/basic_file_stdio.h 2 additions, 4 deletionslibstdc++-v3/config/io/basic_file_stdio.h
- libstdc++-v3/include/bits/fstream.tcc 9 additions, 6 deletionslibstdc++-v3/include/bits/fstream.tcc
- libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/12232.cc 72 additions, 0 deletions...++-v3/testsuite/27_io/basic_filebuf/seekoff/char/12232.cc
- libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc 4 additions, 6 deletions...c++-v3/testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc
- libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc 3 additions, 5 deletions...++-v3/testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc
- libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc 4 additions, 6 deletions...c++-v3/testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc
- libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc 4 additions, 6 deletions...++-v3/testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc
Loading
Please register or sign in to comment