]> git.ipfire.org Git - thirdparty/gcc.git/commit - libstdc++-v3/testsuite/ext/stdio_sync_filebuf/char/12048-3.cc
re PR libstdc++/9320 (Incorrect usage of traits_type::int_type in stdio_filebuf)
authorPaolo Carlini <pcarlini@unitus.it>
Tue, 11 Feb 2003 10:43:49 +0000 (11:43 +0100)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 11 Feb 2003 10:43:49 +0000 (10:43 +0000)
commitdfc7d8996515160bc008f5e4c942f3fdd4c96545
treeebe902306e4a15ad31f2a8f37a87098265fa8a10
parentda61d02231ca20ebc788ad86655952cff1781171
re PR libstdc++/9320 (Incorrect usage of traits_type::int_type in stdio_filebuf)

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

PR libstdc++/9320
* include/ext/stdio_filebuf.h
(stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
Change to take a __size parameter of type size_t, not
of type (template parameter dependent) int_type.
* src/ios.cc (ios_base::Init::_S_ios_create): Change type of
size vars to size_t.
* testsuite/ext/stdio_filebuf.cc: Add.

From-SVN: r62691
libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/stdio_filebuf.h
libstdc++-v3/src/ios.cc
libstdc++-v3/testsuite/ext/stdio_filebuf.cc [new file with mode: 0644]